diff --git a/templates/nutmon.sh.j2 b/templates/nutmon.sh.j2 index 2a10670..e56088a 100644 --- a/templates/nutmon.sh.j2 +++ b/templates/nutmon.sh.j2 @@ -15,7 +15,7 @@ while [ $upsstat -ne 0 ]; do if [ $upsstat -eq 1 ]; then let retries=retries-1 if [ $retries -le 0 ]; then - reboot + /usr/sbin/shutdown -r now fi sleep $retry_delay fi