diff options
author | Chia-I Wu <olv@openmoko.com> | 2008-10-30 16:16:33 +0800 |
---|---|---|
committer | John Lee <john_lee@openmoko.org> | 2009-01-12 14:29:32 +0800 |
commit | b76195779a2544c7d18a048f8a196d9a5137a865 (patch) | |
tree | ad84f4f995ff7310f52878a5f2ba852330ab8cc9 | |
parent | e3d2c04b0c9526ed1cd46016717f261527cd9e2d (diff) |
fastboot: wireless-tools: Make zzz-wireless.if-pre-up only for dhcp.
-rw-r--r-- | packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up | 4 | ||||
-rw-r--r-- | packages/wireless-tools/wireless-tools_29.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up b/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up index 4c8e95bf2a..85fcc87a99 100644 --- a/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up +++ b/packages/wireless-tools/wireless-tools/zzz-wireless.if-pre-up @@ -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 diff --git a/packages/wireless-tools/wireless-tools_29.bb b/packages/wireless-tools/wireless-tools_29.bb index 7f08db81c7..e5c498bbfa 100644 --- a/packages/wireless-tools/wireless-tools_29.bb +++ b/packages/wireless-tools/wireless-tools_29.bb @@ -1,3 +1,3 @@ require wireless-tools.inc -PR = "r0" +PR = "r1" |