small final changes before print

This commit is contained in:
nagumii 2024-12-02 21:51:19 +02:00
parent 80ffb179b0
commit 4b1a19c02e
3 changed files with 43 additions and 34 deletions

View file

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