ports/sysutils/nut/patches/patch-conf_upsmon_conf_sample

12 lines
451 B
Text

Index: conf/upsmon.conf.sample.in
--- conf/upsmon.conf.sample.in.orig
+++ conf/upsmon.conf.sample.in
@@ -149,7 +149,7 @@ MINSUPPLIES 1
# such as posting a message with 'logger' or 'wall' or 'mailx'. Do be careful
# to plug the UPS back into the wall in a timely fashion.
-SHUTDOWNCMD "/sbin/shutdown -h +0"
+SHUTDOWNCMD "/sbin/shutdown -hp +0"
# --------------------------------------------------------------------------
# NOTIFYCMD <command>