--yesno"\nWireless connection is in use.\n\nDo you want to disconnect?" 9 57
[[$?= 0 ]]&& nmcli connection down uuid $CURRENT_UUID
else
# check if user agree to enter this area
beta_disclaimer "Wireless networking in Linux is problematic. Our tools make it easy for some cases but can't enable AP on every random WiFi chip. If this tool fail, check manual methods."
if[[-n$ACKNOWLEDGEMENT]];then
# change special adapters to AP mode
wlan_exceptions "on"
# check for WLAN interfaces
...
...
@@ -568,6 +580,9 @@ while true; do
response=$?
DEFAULT_ADAPTER=$(ip -4 route ls | grep default | grep-Po'(?<=dev )(\S+)')
NETWORK_CONF="/etc/network/interfaces"
dialog --title"Network configuration"--backtitle"$BACKTITLE"--yesno"\nStart with clean config?" 7 29