diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-09 16:55:00 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-09 16:55:00 +0200 |
commit | bcd5075f6a3a59fd9a4caecbcc77a9ad20c91583 (patch) | |
tree | 48d5ec98074da01a0287aa782f0d7525f67b0901 | |
parent | 643800cee0ad5b853f06056ff90d24efa670f68c (diff) |
set wireless extension to 0 by default
-rwxr-xr-x | package/base-files/src/etc/network/if-pre-up.d/04-wireless | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/etc/network/if-pre-up.d/04-wireless b/package/base-files/src/etc/network/if-pre-up.d/04-wireless index 1ccc4d823..8095c82eb 100755 --- a/package/base-files/src/etc/network/if-pre-up.d/04-wireless +++ b/package/base-files/src/etc/network/if-pre-up.d/04-wireless @@ -1,5 +1,4 @@ #!/bin/sh -#set -x set -e [ "${IFACE%%[0-9]*}" = "wlan" ] || exit 0 @@ -7,6 +6,7 @@ set -e [ "$IF_WIRELESS_SSID" ] || exit 1 [ "$IF_WIRELESS_CHANNEL" ] || exit 1 [ "$IF_WIRELESS_HWMODE" ] || IF_WIRELESS_HWMODE=g +[ "$IF_WIRELESS_EXTENSION" ] || IF_WIRELESS_EXTENSION=0 wpa=0 wpa1=0 |