Update Installer.sh

Added "dirty" "fix" to remove nagging output of the monitor-service line 22 blablabla ufw command not found
This commit is contained in:
Beeranco 2023-08-14 21:53:46 +02:00 committed by GitHub
parent e00b505be8
commit 47a62bd2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ if [[ $OPTIONS == *"Monitor-Service"* ]]; then
wget $GIT/$REPO/$BRANCH/RasPi-Config/monitor.service -O /etc/monitor.service wget $GIT/$REPO/$BRANCH/RasPi-Config/monitor.service -O /etc/monitor.service
echo "" >> /home/pi/.profile echo "" >> /home/pi/.profile
echo "# show Monitor on autologon" >> /home/pi/.profile echo "# show Monitor on autologon" >> /home/pi/.profile
echo "sudo bash /etc/monitor.service" >> /home/pi/.profile echo "sudo bash /etc/monitor.service 2>/dev/null" >> /home/pi/.profile
systemctl daemon-reload systemctl daemon-reload
systemctl restart getty@tty1.service systemctl restart getty@tty1.service
fi fi