From 44606913358302b70179e13728a0468a760d6bca Mon Sep 17 00:00:00 2001 From: nagumii Date: Sat, 16 Nov 2024 16:47:36 +0200 Subject: [PATCH] Update luckfox-install.sh --- scripts/luckfox-install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/luckfox-install.sh b/scripts/luckfox-install.sh index 47876b5..6c006ff 100644 --- a/scripts/luckfox-install.sh +++ b/scripts/luckfox-install.sh @@ -23,14 +23,13 @@ URL=$(wget -qO- https://api.github.com/repos/meshtastic/firmware/releases/latest echo "*** Installed latest Meshtasticd beta ***\e[0m" echo "*** Getting custom FemtoFox files... ***\e[0m" -git clone https://github.com/noon92/femtofox.git sudo cp ../liborcania_2.3_armhf/* /usr/lib/arm-linux-gnueabihf/ sudo mv /etc/meshtasticd/config.yaml /etc/meshtasticd/config.yaml.bak sudo cp ../meshtasticd/config.yaml /etc/meshtasticd/ sudo cp /etc/update-motd.d/00-header /etc/update-motd.d/00-header.bak sudo mv 00-header /etc/update-motd.d/ sudo chmod +x /etc/update-motd.d/00-header -echo "*** Installed custom FemtoFox files ***\e[0m" +echo "*** Copied custom FemtoFox files ***\e[0m" #serial port permissions sudo usermod -a -G tty $USER @@ -39,6 +38,7 @@ echo "*** Set serial port permissions ***\e[0m" #disable redundant services +echo "*** Disabling redundant services... ***\e[0m" sudo systemctl disable vsftpd.service sudo systemctl disable ModemManager.service sudo systemctl disable polkit.service @@ -53,6 +53,7 @@ sudo mv luckfox.cfg /etc/ sudo luckfox-config load echo "*** Set Luckfox system config ***\e[0m" +#edit /etc/network/interfaces sudo chmod +x networkinterfaces.sh sudo ./networkinterfaces.sh @@ -60,7 +61,7 @@ sudo ./networkinterfaces.sh sudo cp /etc/rc.local /etc/rc.local.bak sudo cp ./rc.local /etc/rc.local sudo chmod +x /etc/rc.local -echo "*** Replaced /etc/rc.local system config ***\e[0m" +echo "*** Replaced /etc/rc.local ***\e[0m" #replace /etc/issue sudo cp /etc/issue /etc/issue.bak