mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-26 18:06:30 -05:00
small final changes before print
This commit is contained in:
parent
80ffb179b0
commit
4b1a19c02e
3 changed files with 43 additions and 34 deletions
|
|
@ -211,9 +211,10 @@ 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
|
||||
log_message "wpa_supplicant.conf updated and wifi restarted. Enabling Meshtastic wifi."
|
||||
sudo dhclient -r
|
||||
sudo dhclient
|
||||
log_message "wpa_supplicant.conf updated and wifi restarted, proceeding."
|
||||
meshtastic --host --set network.wifi_enabled true
|
||||
fi
|
||||
|
||||
if [ "$update_meshtastic" != "" ]; then
|
||||
|
|
@ -242,4 +243,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