mirror of https://github.com/CIRCL/Circlean
Change method for turning off display autosleep
Previous strategy using setterm wasn't working. Switched to using consoleblank=0 in boot partition cmdline.txtpull/49/head
parent
cdf5964392
commit
8f6e8fb87b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue