]> git.pld-linux.org Git - packages/apcupsd.git/blob - shutdown.patch
configure scripts from well known location
[packages/apcupsd.git] / shutdown.patch
1 https://bugzilla.redhat.com/show_bug.cgi?id=348701
2
3 diff -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.030842 seconds and 3 git commands to generate.