From addc4804028a24648f899890632e5310d8cbbd1c Mon Sep 17 00:00:00 2001 From: noon92 <40807970+noon92@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:03:04 +0200 Subject: [PATCH] Update usbconfig.sh --- scripts/usbconfig.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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