diff options
-rwxr-xr-x | meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up b/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up index 11fbced462..2518a5c834 100755 --- a/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up +++ b/meta/packages/wireless-tools/wireless-tools/wireless-tools.if-pre-up | |||
@@ -60,10 +60,6 @@ if [ -n "$IF_WIRELESS_RETRY" ]; then | |||
60 | $IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY | 60 | $IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY |
61 | fi | 61 | fi |
62 | 62 | ||
63 | if [ -n "$IF_WIRELESS_ESSID" ]; then | ||
64 | $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID" | ||
65 | fi | ||
66 | |||
67 | if [ -n "$IF_WIRELESS_NICK" ]; then | 63 | if [ -n "$IF_WIRELESS_NICK" ]; then |
68 | $IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK" | 64 | $IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK" |
69 | fi | 65 | fi |
@@ -116,6 +112,10 @@ if [ -n "$IF_WIRELESS_CHANNEL" ]; then | |||
116 | $IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL | 112 | $IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL |
117 | fi | 113 | fi |
118 | 114 | ||
115 | if [ -n "$IF_WIRELESS_ESSID" ]; then | ||
116 | $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID" | ||
117 | fi | ||
118 | |||
119 | if [ -n "$IF_WIRELESS_COMMIT" ]; then | 119 | if [ -n "$IF_WIRELESS_COMMIT" ]; then |
120 | $IWCONFIG "$IFACE" commit | 120 | $IWCONFIG "$IFACE" commit |
121 | fi | 121 | fi |