Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1841,6 +1841,9 @@ if [ ${action-x} ]; then
|
||||
update-dyndns) UPDATE_DYNDNS ${2};;
|
||||
backup) BACKUP;;
|
||||
status)
|
||||
if [ -f "${FOLDER}/status-check.running" ]; then
|
||||
[ `stat --format=%Y $file` -gt $(( `date +%s` - 300 )) ] && rm -f "${FOLDER}/status-check.running"
|
||||
fi
|
||||
if [ ! -f "${FOLDER}/status-check.running" ]; then
|
||||
touch "${FOLDER}/status-check.running"
|
||||
if [ "${2}" = "report" ]; then
|
||||
|
||||
Reference in New Issue
Block a user