From 7ffa4552b46a01975894cd7ccf720db06a2558e9 Mon Sep 17 00:00:00 2001 From: Dan Puttick Date: Fri, 13 Jan 2017 17:08:07 -0500 Subject: [PATCH] Turn off autosleep in rc.local --- fs_filecheck/etc/rc.local | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs_filecheck/etc/rc.local b/fs_filecheck/etc/rc.local index d12d10f..ad6e7f7 100755 --- a/fs_filecheck/etc/rc.local +++ b/fs_filecheck/etc/rc.local @@ -29,8 +29,10 @@ echo "GROOMER: end of boot, running rc.local." if [ -e /dev/sda ]; 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 + # Stop hdmi display from sleeping after a period of time + setterm -powersave off -blank 0 trap clean EXIT TERM INT cd /opt/groomer /usr/sbin/led &