Moving autosleep from rc.local to init.sh

pull/46/head
Dan Puttick 2017-01-25 01:59:35 -05:00
parent c51531f77c
commit 1ecf260f67
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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