diff --git a/scripts/usbconfig.sh b/scripts/usbconfig.sh index 0e67222..ddb8607 100644 --- a/scripts/usbconfig.sh +++ b/scripts/usbconfig.sh @@ -211,6 +211,8 @@ if [ -f "$mount_point/femtofox-config.txt" ]; then if [ "$update_wifi" = true ]; then #if wifi config found, restart wifi sudo systemctl restart wpa_supplicant sudo wpa_cli -i wlan0 reconfigure + sudo dhclient -r + sudo dhclient log_message "wpa_supplicant.conf updated and wifi restarted, proceeding." fi @@ -240,4 +242,4 @@ else fi rm $usb_config #remove temporary copy of femtofox-config.txt - exit 0 \ No newline at end of file + exit 0