diff options
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`" |