Package:  nut
Version:  2.4.1-3.2
Severity: minor
Tags:     patch
File:     /etc/init.d/nut

With the current debian/nut.init script, the following message is shown when 
executing
/etc/init.d/nut:

    nut disabled, please adjust the configuration to your needs ... failed!
    and then set MODE to a suitable value in /etc/nut/nut.conf to enable it. 
... failed!

The patch modifies that message into:

    nut disabled, please adjust the configuration to your needs.
    Then set MODE to a suitable value in /etc/nut/nut.conf to enable it.
    nut ... failed!

Which looks to me nicer.

--- debian/nut.init     2009-11-05 19:35:36.000000000 +0200
+++ debian/nut.init.patched     2009-12-31 00:38:47.000000000 +0200
@@ -40,8 +40,8 @@

 # Explicitly require the configuration to be done in /etc/nut/nut.conf
 if [ "x$MODE" = "xnone" ] ; then
-    log_failure_msg "$NAME disabled, please adjust the configuration to your 
needs "
-    log_failure_msg "and then set MODE to a suitable value in $CONFIG to 
enable it."
+    log_action_msg "$NAME disabled, please adjust the configuration to your 
needs"
+    log_action_msg "Then set MODE to a suitable value in $CONFIG to enable it"
     # exit success to avoid breaking the install process!
     exit 0
 fi


                                          
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to