mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
2
daily.sh
2
daily.sh
@@ -42,7 +42,7 @@ if [ -z "$arg" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cnf=$(echo $(grep '\[.distributed_poller.\]' config.php | egrep -v -e '^//' -e '^#' | cut -d = -f 2 | sed 's/;//g'))
|
cnf=$(echo $(grep '\[.distributed_poller.\]' config.php | egrep -v -e '^//' -e '^#' | cut -d = -f 2 | sed 's/;//g'))
|
||||||
cnd=${cnf,,}
|
cnf=${cnf,,}
|
||||||
if [ -z "$cnf" ] || [ "$cnf" == "0" ] || [ "$cnf" == "false" ]; then
|
if [ -z "$cnf" ] || [ "$cnf" == "0" ] || [ "$cnf" == "false" ]; then
|
||||||
# Call ourself again in case above pull changed or added something to daily.sh
|
# Call ourself again in case above pull changed or added something to daily.sh
|
||||||
$0 post-pull
|
$0 post-pull
|
||||||
|
|||||||
Reference in New Issue
Block a user