#!/usr/bin/env bash

# https://unix.stackexchange.com/questions/8056/disable-screen-blanking-on-text-console#answer-425719
# TERM=linux replaces default TERM (which is xterm-256color on my machine),
# and helps setterm to query proper parameters from tty0.
TERM=linux setterm -blank 0 -powerdown 0  -powersave off >/dev/tty0 </dev/tty0
