From c9d496518aa23784568c2e4d17ad3140241eb217 Mon Sep 17 00:00:00 2001 From: Kewitt Date: Sat, 12 Jul 2025 18:45:37 +0000 Subject: [PATCH] Update config/autostart.sh --- config/autostart.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/config/autostart.sh b/config/autostart.sh index dae3ee6..ad60b6f 100644 --- a/config/autostart.sh +++ b/config/autostart.sh @@ -21,25 +21,7 @@ time=20 #Use if URL to Image is being used. #Set content 1 = Video and/or images 4 = Debug content=1 -# -#Update network -#export wifiupdate=false -#export essid=whit -#export wifipassword=whitwhit -#export updatehost=whit1 -#If you want to control the IP address please use dhcp reservation. -#or manually set it up -# -# -#If you are setting url you need to add to crontab -e to update the image every 15 mins, and enable urlchrome setting -#Change localhost to the -#sudo crontab -e -#0/15 * * * * "chromium-browser --headless --window-size=1920x1080 --virtual-time-budget=25000 --screenshot=/home/$USER/WHIT/working/calander.png http://localhost" -#urlchrome="chromium-browser --headless --window-size=1920x1080 --virtual-time-budget=25000 --screenshot=/home/$USER/WHIT/working/calander.png http://localhost" -#when do you want the reboot to happen, 24 hour clock 0 = midnight -#export reboottime=01:50 -#export overscan=1 -#export rotation=0 + @@ -65,7 +47,7 @@ if [ $protocal = 1 ]; then echo $(date):Connecting to cifs share "$Server" to mounting point /mnt/whit >> /home/$USER/WHIT/config/boot.log sudo mount -t cifs -o username=$USERNAME,password=$PASSWORD $Server /mnt/whit else - echo $(date):Connecting to ftp share $Server to mounting point /mnt/whit >> /home/$USER/WHIT/config/boot.log + echo $(date):Connecting to ftp share "$Server" to mounting point /mnt/whit >> /home/$USER/WHIT/config/boot.log sudo curlftpfs -o allow_other $USERNAME:$PASSWORD@$Server /mnt/whit/ fi