[mod] report
This commit is contained in:
parent
26f14be426
commit
a39cd5a599
@ -1,3 +1,14 @@
|
||||
for $s in doc("config.xml")//sharedfolder
|
||||
(: OMV config tools :)
|
||||
declare variable $config:= doc("config.xml");
|
||||
declare variable $folders:=$config/config/system/shares/sharedfolder;
|
||||
declare variable $rsync:=$config/config/services/rsync/jobs/job;
|
||||
|
||||
declare function local:datastore(){
|
||||
for $s in $folders
|
||||
where starts-with($s/reldirpath,"datastore/")
|
||||
return $s/reldirpath/string()
|
||||
let $name:= substring-after($s/reldirpath,"datastore/")
|
||||
order by $name
|
||||
return $name
|
||||
};
|
||||
|
||||
$rsync/src
|
Loading…
Reference in New Issue
Block a user