slitaz-boot-scripts rev 70
network.sh: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 21 10:17:44 2008 +0000 (2008-04-21) |
parents | 6ab9efa8fb98 |
children | 57f6cb87de5a |
files | etc/init.d/network.sh |
line diff
1.1 --- a/etc/init.d/network.sh Fri Apr 18 16:54:44 2008 +0200 1.2 +++ b/etc/init.d/network.sh Mon Apr 21 10:17:44 2008 +0000 1.3 @@ -31,7 +31,7 @@ 1.4 fi 1.5 1.6 # For wifi (experimental). 1.7 -if [ "$WIFI" = "yes" -o grep -q "wifi" /proc/cmdline ] ; then 1.8 +if [ "$WIFI" = "yes" ] || grep -q "wifi" /proc/cmdline; then 1.9 iwconfig $WIFI_INTERFACE essid $ESSID 1.10 echo "Starting udhcpc client on: $INTERFACE... " 1.11 /sbin/udhcpc -b -i $WIFI_INTERFACE \