openbsd-ports/sysutils/nut/patches/patch-conf_upsmon_conf_sample
sthen 5c5a608f6c update to 2.4.3, tested by Denny White and Aaron Stellman
note that with USB UPS, you may have to allow permissions on
further ugen subdevices (e.g. ugen0.01 as well as ugen0.00).
2010-03-31 22:11:11 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-conf_upsmon_conf_sample,v 1.2 2010/03/31 22:11:11 sthen Exp $
--- conf/upsmon.conf.sample.orig Thu Feb 18 21:19:09 2010
+++ conf/upsmon.conf.sample Sat Mar 20 23:18:18 2010
@@ -108,7 +108,7 @@ MINSUPPLIES 1
#
# This should work just about everywhere ... if it doesn't, well, change it.
-SHUTDOWNCMD "/sbin/shutdown -h +0"
+SHUTDOWNCMD "/sbin/shutdown -hp +0"
# --------------------------------------------------------------------------
# NOTIFYCMD <command>