diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-01-26 15:34:24 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-01-26 15:34:24 +0000 |
commit | 4cece956f3ca5482bbe351d7acb6bd78f0667572 (patch) | |
tree | 9327656406c5b5bca1e1a7985725bb1d5f4452a4 /conf | |
parent | 8aa25839dc18988e4e1eda5ff55dc3d180696703 (diff) |
Stuff from Norbert Preining
git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@86 2bf48fe7-cfc1-0310-909f-d9042e1e0fef
Diffstat (limited to 'conf')
-rwxr-xr-x | conf/ifplugd.init.in | 13 |
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`" |