Change method for turning off display autosleep

Previous strategy using setterm wasn't working. Switched to using consoleblank=0
in boot partition cmdline.txt
pull/49/head
Dan Puttick 2017-01-31 17:09:13 -05:00
parent cdf5964392
commit 8f6e8fb87b
2 changed files with 1 additions and 4 deletions

View File

@ -1 +1 @@
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot noswap ro
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot noswap ro consoleblank=0

View File

@ -25,9 +25,6 @@ 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