mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
commit
d10ef9994d
@ -109,7 +109,7 @@ else
|
||||
defaultVol_nonQuotedPattern='-defaultvo(l) (([^\0 !$`&*()+]|\\( |!|$|`|&|\*|\(|\)|\+))+)'
|
||||
defaultVol_pathPattern=$defaultVol_nonQuotedPattern
|
||||
[[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathIsQuoted ]] && defaultVol_pathPattern=$defaultVol_quotedPattern
|
||||
[[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathPattern ]] && defaultServer_volumesFile = ${BASH_REMATCH[2]}
|
||||
[[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathPattern ]] && defaultServer_volumesFile=${BASH_REMATCH[2]}
|
||||
fi
|
||||
|
||||
##########
|
||||
@ -156,4 +156,4 @@ for shareName in `cat $defaultServer_volumesFile | grep "^[^#:]" | grep -oP "^([
|
||||
done
|
||||
echo "share.value" $openShares
|
||||
|
||||
##########
|
||||
##########
|
||||
|
Loading…
Reference in New Issue
Block a user