Skip to content

Commit

Permalink
Reboot RPi as morning action because enabling HDMI does not work reli…
Browse files Browse the repository at this point in the history
…ably
  • Loading branch information
schlomo committed Mar 14, 2014
1 parent 4f35a87 commit f89be23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: kiosk-browser
Version: 36
Version: 37
Priority: optional
Section: web
Architecture: all
Expand Down
4 changes: 3 additions & 1 deletion src/usr/bin/kiosk-browser-control
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ function evening {
}

function morning {
is_pi && tvservice -p || vbetool dpms on
# this apparently does not work reliably, so we reboot if on RPi
# is_pi && tvservice -p || vbetool dpms on
is_pi && reboot || vbetool dpms on
sleep 2
start
}
Expand Down

0 comments on commit f89be23

Please sign in to comment.