Skip to content

Instantly share code, notes, and snippets.

View meanderer-tech's full-sized avatar

Kevin Tong meanderer-tech

View GitHub Profile
@meanderer-tech
meanderer-tech / rpi-hdmi.sh
Created September 13, 2019 04:36 — forked from quelleck/rpi-hdmi.sh
Enable and disable the HDMI port on the Raspberry Pi: `rpi-hdmi on` to turn on, `rpi-hdmi off` to turn off.
#!/bin/sh
# Enable and disable HDMI output on the Raspberry Pi
is_off ()
{
vcgencmd display_power | grep "display_power=0" >/dev/null
}
case $1 in