|
@@ -85,6 +85,8 @@ do
|
85
|
85
|
WIFI_INTERFACE=${1}
|
86
|
86
|
wifi_interface_specified=1
|
87
|
87
|
write_config_param "WIFI_INTERFACE" "$WIFI_INTERFACE"
|
|
88
|
+ ifconfig $WIFI_INTERFACE down
|
|
89
|
+ ifconfig $WIFI_INTERFACE up
|
88
|
90
|
;;
|
89
|
91
|
-t|--type)
|
90
|
92
|
shift
|
|
@@ -140,6 +142,8 @@ if [ ! $wifi_interface_specified= ]; then
|
140
|
142
|
fi
|
141
|
143
|
WIFI_INTERFACE=$IFACE
|
142
|
144
|
write_config_param "WIFI_INTERFACE" "$WIFI_INTERFACE"
|
|
145
|
+ ifconfig $WIFI_INTERFACE down
|
|
146
|
+ ifconfig $WIFI_INTERFACE up
|
143
|
147
|
fi
|
144
|
148
|
|
145
|
149
|
if [ $WIFI_DISABLE ]; then
|