Wachalarm-Monitor/home/display-on.sh
2018-08-05 18:10:50 +03:00

4 lines
162 B
Bash
Executable File

#!/bin/bash
sudo tvservice -p > /dev/null && sudo chvt 2 && sudo chvt 1 # for whatever reason, cycling virtual terminals helps wake up the display in some cases