Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Enable and disable HDMI output on the Raspberry Pi
- case $1 in
- off)
- xset dpms force standby
- vcgencmd display_power 0
- ;;
- on)
- vcgencmd display_power 1
- ;;
- *)
- echo "Usage: $0 on|off" >&2
- exit 2
- ;;
- esac
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement