Update install.sh

This commit is contained in:
SpudGunMan
2024-12-13 21:34:01 -08:00
parent 91072cb47d
commit f9370d47b4
+10
View File
@@ -195,6 +195,16 @@ if [ $(hostname) != "femtofox" ]; then
if [ $reboot == "y" ]; then
sudo reboot
fi
else
# we are on femtofox embedded
# replace "type = serial" with "type = tcp" in config.ini
replace="s|type = serial|type = tcp|g"
sed -i "$replace" config.ini
# replace "# hostname = 192.168.0.1" with "hostname = localhost" in config.ini
replace="s|# hostname = 192.168.0.1|hostname = localhost|g"
sed -i "$replace" config.ini
printf "\nConfig file updated for femtofox embedded\n"
fi
printf "\nInstallation complete!\n"