Update usbconfig.sh

This commit is contained in:
noon92 2024-12-02 15:03:04 +02:00 • committed by GitHub
parent cc9eab155e
commit addc480402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
exit 0