Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1848,6 +1848,8 @@ if [ ${action-x} ]; then
|
||||
update-dyndns) UPDATE_DYNDNS ${2};;
|
||||
backup) BACKUP;;
|
||||
status)
|
||||
if [ ! -f "${FOLDER}/status-check.running" ]; then
|
||||
touch "${FOLDER}/status-check.running"
|
||||
if [ "${2}" = "report" ]; then
|
||||
rm -f ${FOLDER}/status-check.lastrun
|
||||
STATUS report > ${FOLDER}/status-check.lastrun
|
||||
@@ -1858,6 +1860,8 @@ if [ ${action-x} ]; then
|
||||
fi
|
||||
else
|
||||
STATUS ${2}
|
||||
fi
|
||||
rm -f "${FOLDER}/status-check.running"
|
||||
fi;;
|
||||
status-check) STATUS-CHECK ${2};;
|
||||
set-permissions) SET-PERMISSIONS ${2};;
|
||||
|
||||
Reference in New Issue
Block a user