mirror of https://github.com/CIRCL/Circlean
Turn off autosleep in rc.local
parent
5632c9096a
commit
7ffa4552b4
|
@ -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 &
|
||||||
|
|
Loading…
Reference in New Issue