Package: ifplugd
Version: 0.28-11
Severity: wishlist

When INTERFACES variable is empty in /etc/default/ifplugd, the initscript
needlessly makes noise at boot time, but doesn't actually do anything because
it is in an unconfigured state, or the admin makes use of ifplugd via the
udev agent only.

Please silence the initscript from making the following output in this case:

# /etc/init.d/ifplugd start
Starting Network Interface Plugging Daemon:.

Thanks, Kel.
---
--- a/debian/ifplugd.init
+++ b/debian/ifplugd.init
@@ -47,6 +47,8 @@
 
 [ "x$INTERFACES" = "xauto" -o "x$INTERFACES" = "xall" ] && INTERFACES="`cat 
/proc/net/dev | awk '{ print $1 }' | egrep '^(eth|wlan)' | cut -d: -f1`"
 
+[ "$INTERFACES" ] || exit 0
+
 case "$VERB" in
     start)
         echo -n "Starting Network Interface Plugging Daemon:"
---



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

Reply via email to