Turn off autosleep in rc.local

pull/46/head
Dan Puttick 2017-01-13 17:08:07 -05:00
parent 5632c9096a
commit 7ffa4552b4
1 changed files with 3 additions and 1 deletions

View File

@ -29,8 +29,10 @@ echo "GROOMER: end of boot, running rc.local."
if [ -e /dev/sda ]; then if [ -e /dev/sda ]; then
if [ -e /dev/sdb ]; then if [ -e /dev/sdb ]; then
# avoid possible misuse - turn off eth0 (ethernet port) # Avoid possible misuse - turn off eth0 (ethernet port)
/sbin/ifconfig eth0 down /sbin/ifconfig eth0 down
# Stop hdmi display from sleeping after a period of time
setterm -powersave off -blank 0
trap clean EXIT TERM INT trap clean EXIT TERM INT
cd /opt/groomer cd /opt/groomer
/usr/sbin/led & /usr/sbin/led &