summaryrefslogtreecommitdiffstats
path: root/conf/ifplugd.init.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/ifplugd.init.in')
-rwxr-xr-xconf/ifplugd.init.in13
1 files changed, 4 insertions, 9 deletions
diff --git a/conf/ifplugd.init.in b/conf/ifplugd.init.in
index 3064a84..0f2f6b8 100755
--- a/conf/ifplugd.init.in
+++ b/conf/ifplugd.init.in
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: ifplugd.init 1.6 Sat, 01 Feb 2003 03:00:07 +0100 lennart $
+# $Id$
# This file is part of ifplugd.
#
@@ -34,13 +34,8 @@
# X-UnitedLinux-Should-Stop: $
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
-# Short-Description: ifplugd daemon providing
-# Description: Start ifplugd to allow XY and provide YZ
-# continued on second line by '#<TAB>'
-# should contain enough info for the runlevel editor
-# to give admin some idea what this service does and
-# what it's needed for ...
-# (The Short-Description should already be a good hint.)
+# Short-Description: ifplugd daemon
+# Description: Start ifplugd
### END INIT INFO
CFG=@sysconfdir@/ifplugd/ifplugd.conf
@@ -58,7 +53,7 @@ fi
VERB="$1"
shift
-[ "x$@" != "x" ] && INTERFACES="$@"
+[ "x$*" != "x" ] && INTERFACES="$*"
[ "x$INTERFACES" = "xauto" ] && INTERFACES="`cat /proc/net/dev | awk '{ print $1 }' | egrep '^(eth|wlan)' | cut -d: -f1`"