openbsd-ports/sysutils/apcupsd/patches/patch-platforms_openbsd_apccontrol_in
2022-03-11 19:57:10 +00:00

12 lines
391 B
Plaintext

--- platforms/openbsd/apccontrol.in.orig Thu Jun 25 09:40:52 2015
+++ platforms/openbsd/apccontrol.in Thu Jun 25 10:36:28 2015
@@ -93,7 +93,7 @@ case "$1" in
;;
doshutdown)
printf "Beginning Shutdown Sequence" | wall
- ${SHUTDOWN} -h now "apcupsd initiated shutdown"
+ ${SHUTDOWN} -p now "apcupsd initiated shutdown"
;;
annoyme)
printf "Power problems please logoff." | wall