mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge pull request #70 from caquino/patch-1
Add the check if HDMI cable is connected
This commit is contained in:
@ -11,6 +11,9 @@
|
||||
#
|
||||
# By default this script does nothing.
|
||||
# Powersave (Disable HDMI) ~30ma
|
||||
sleep 10
|
||||
if ! /opt/vc/bin/tvservice -s | grep HDMI; then
|
||||
/opt/vc/bin/tvservice -o
|
||||
fi
|
||||
/root/pwnagotchi/scripts/startup.sh &
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user