Changing wifi doesn't cause wired disconnection
This commit is contained in:
parent
2295f21762
commit
88c97978d9
|
@ -1728,14 +1728,7 @@ function wifi_settings {
|
|||
|
||||
if [[ $PREV_WIFI_INTERFACE != $NEW_WIFI_INTERFACE || $PREV_WIFI_SSID != $NEW_WIFI_SSID || $PREV_WIFI_TYPE != $NEW_WIFI_TYPE || $PREV_WIFI_PASSPHRASE != $NEW_WIFI_PASSPHRASE ]]; then
|
||||
dialog --title $"Wifi Settings" \
|
||||
--backtitle $"Freedombone Control Panel" \
|
||||
--defaultno \
|
||||
--yesno $"\nWifi settings changed. Restart networking (you will be disconnected)?" 10 60
|
||||
sel=$?
|
||||
case $sel in
|
||||
1) return;;
|
||||
255) return;;
|
||||
esac
|
||||
--msgbox $"Wifi settings were changed" 6 40
|
||||
|
||||
WIFI_INTERFACE=$NEW_WIFI_INTERFACE
|
||||
WIFI_SSID=$NEW_WIFI_SSID
|
||||
|
|
Loading…
Reference in New Issue