iwconfig braucht seit neuestem ein ifconfig up bevor er tut...

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_sysvinit@5224 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-01-26 14:22:29 +00:00
parent 92d35e26ca
commit 7f4fc5a407

View File

@ -45,6 +45,7 @@ if [ ! "$DEV" ]; then
echo "usage: $0 <WireLessLanDevice>" echo "usage: $0 <WireLessLanDevice>"
exit 1 exit 1
fi fi
/sbin/ifconfig $DEV up
if [ ! -d /sys/class/net/$DEV/wireless ]; then if [ ! -d /sys/class/net/$DEV/wireless ]; then
echo "No Wireless Device" echo "No Wireless Device"
exit 2 exit 2