diff --git a/fs_filecheck/etc/rc.local b/fs_filecheck/etc/rc.local index c80ebf3..d0b2b9b 100755 --- a/fs_filecheck/etc/rc.local +++ b/fs_filecheck/etc/rc.local @@ -31,8 +31,6 @@ if [ -e /dev/sda ]; then if [ -e /dev/sdb ]; then # Avoid possible misuse - turn off eth0 (ethernet port) /sbin/ifconfig eth0 down - # Stop hdmi display from sleeping after a period of time - setterm -powersave off -blank 0 trap clean EXIT TERM INT cd /opt/groomer ./init.sh diff --git a/fs_filecheck/opt/groomer/init.sh b/fs_filecheck/opt/groomer/init.sh index 680f0ed..adc4b6d 100755 --- a/fs_filecheck/opt/groomer/init.sh +++ b/fs_filecheck/opt/groomer/init.sh @@ -22,6 +22,9 @@ clean(){ trap clean EXIT TERM INT +# Stop hdmi display from sleeping after a period of time +setterm -powersave off -blank 0 + # Start music ./music.sh & echo $! > /tmp/music.pid