This should solve it:

--- /etc/init.d/nut     2009-07-27 02:50:53.000000000 +0200
+++ debian/nut.init     2009-11-05 19:35:36.000000000 +0200
@@ -160,7 +160,7 @@

   poweroff)
     flag=`sed -ne 's#^ *POWERDOWNFLAG *\(.*\)$#\1#p' /etc/nut/upsmon.conf`
-    wait_delay=`sed -ne 's#^ *POWEROFF_WAIT= *\(.*\)$#\1#p' /etc/default/nut`
+    wait_delay=`sed -ne 's#^ *POWEROFF_WAIT= *\(.*\)$#\1#p' /etc/nut/nut.conf`
     if [ -f "$flag" ] ; then
       if $upsmon -K >/dev/null 2>&1 ; then
        log_daemon_msg "Shutting down the UPS ..."

--
sobtw...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to