diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-01-26 15:37:47 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-01-26 15:37:47 +0000 |
commit | 4e8b067370129448c75ce3e7afad468ea169e850 (patch) | |
tree | cf48179358696c0d14bfbf3c470c7d45fbe4123c /conf/waproamd.init.in | |
parent | bc1fef7e4144a437293345c1dbd7f174b32dcbbd (diff) |
patches from Norbert Preining
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@59 022f378f-78c4-0310-b860-d162c87e6274
Diffstat (limited to 'conf/waproamd.init.in')
-rwxr-xr-x | conf/waproamd.init.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/conf/waproamd.init.in b/conf/waproamd.init.in index 638ba57..3c35c57 100755 --- a/conf/waproamd.init.in +++ b/conf/waproamd.init.in @@ -16,6 +16,17 @@ # You should have received a copy of the GNU General Public License # along with waproamd; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +### BEGIN INIT INFO +# Provides: waproamd +# Required-Start: $network +# X-UnitedLinux-Should-Start: +# Required-Stop: $network +# X-UnitedLinux-Should-Stop: $ +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: waproamd daemon +# Description: Start waproamd +### END INIT INFO CFG=@sysconfdir@/waproamd/waproamd.conf @@ -32,7 +43,7 @@ fi VERB="$1" shift -[ "x$@" != "x" ] && INTERFACES="$@" +[ "x$*" != "x" ] && INTERFACES="$*" [ "x$INTERFACES" = "xauto" ] && INTERFACES="`cat /proc/net/dev | awk '{ print $1 }' | egrep '^wlan' | cut -d: -f1`" |