]> git.pld-linux.org Git - packages/apcupsd.git/blame - shutdown.patch
- updated to 3.14.14, adjusted configure patch for current autotools
[packages/apcupsd.git] / shutdown.patch
CommitLineData
76fc6305
ER
1https://bugzilla.redhat.com/show_bug.cgi?id=348701
2
3diff -up apcupsd-3.14.4/platforms/apccontrol.in.shutdown apcupsd-3.14.4/platforms/apccontrol.in
4--- apcupsd-3.14.4/platforms/apccontrol.in.shutdown 2008-05-28 09:15:47.000000000 +0200
5+++ apcupsd-3.14.4/platforms/apccontrol.in 2008-05-28 09:16:04.000000000 +0200
6@@ -104,7 +104,7 @@ case "$1" in
7 ;;
8 doshutdown)
9 echo "UPS ${2} initiated Shutdown Sequence" | ${WALL}
10- ${SHUTDOWN} -h now "apcupsd UPS ${2} initiated shutdown"
11+ ${SHUTDOWN} -h -H now "apcupsd UPS ${2} initiated shutdown"
12 ;;
13 annoyme)
14 echo "Power problems with UPS ${2}. Please logoff." | ${WALL}
This page took 0.098162 seconds and 4 git commands to generate.