mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-28 19:06:44 -05:00
Update usbconfig.sh
This commit is contained in:
parent
cc9eab155e
commit
addc480402
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue