Skip to content

Commit

Permalink
web: fix lightshow and boombox access when no music
Browse files Browse the repository at this point in the history
  • Loading branch information
marcone committed May 4, 2024
1 parent 818c639 commit ac8f803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/pi/configure-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ cat > /etc/default/fcgiwrap << EOF
DAEMON_OPTS="-c 4 -f"
EOF

if [ -e /backingfiles/music_disk.bin ]
if [ -e /backingfiles/music_disk.bin ] || [ -e /backingfiles/lightshow_disk.bin ] || [ -e /backingfiles/boombox_disk.bin ]
then
mkdir -p /var/www/html/fs
copy_script run/auto.www /root/bin
Expand Down

0 comments on commit ac8f803

Please sign in to comment.