]> git.openpandora.org Git - openembedded.git/commitdiff
fastboot: wireless-tools: Make zzz-wireless.if-pre-up only for dhcp.
authorChia-I Wu <olv@openmoko.com>
Thu, 30 Oct 2008 08:16:33 +0000 (16:16 +0800)
committerJohn Lee <john_lee@openmoko.org>
Mon, 12 Jan 2009 06:29:32 +0000 (14:29 +0800)
packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
packages/wireless-tools/wireless-tools_29.bb

index 4c8e95bf2a040280a13d285de7a580e662063089..85fcc87a99986d4403fab3085b2bc8366a7e89c6 100644 (file)
@@ -15,7 +15,7 @@ RETRIES=15
 SLEEPTIME=1
 
 # Only sleep if we use DHCP (add others methods seperated by spaces)
-ONLY_FOR="static dhcp"
+ONLY_FOR="dhcp"
 
 if [ -z "$IF_WIRELESS_TYPE" ] && echo "$ONLY_FOR" | grep -q "$METHOD" ; then
        $IFCONFIG $IFACE up
@@ -25,7 +25,7 @@ if [ -z "$IF_WIRELESS_TYPE" ] && echo "$ONLY_FOR" | grep -q "$METHOD" ; then
                RETRIES=$(($RETRIES-1))
                $SLEEP $SLEEPTIME
        done
-       
+
        if [ $RETRIES -eq 0 ]; then
                $LOGGER Timeout waiting for association, continuing anyway...
        else
index 7f08db81c79f734a6dc2b7553adfe1a61c215bd3..e5c498bbfaaf344e4ffcbbeb6ae4a47bbf7ee2cd 100644 (file)
@@ -1,3 +1,3 @@
 require wireless-tools.inc
 
-PR = "r0"
+PR = "r1"