ports/sysutils/nut/patches/patch-conf_upsmon_conf_sample

13 lines
451 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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>