From 4e8b067370129448c75ce3e7afad468ea169e850 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 26 Jan 2004 15:37:47 +0000 Subject: patches from Norbert Preining git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@59 022f378f-78c4-0310-b860-d162c87e6274 --- conf/waproamd.init.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'conf') 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`" -- cgit