Created
March 13, 2015 15:41
-
-
Save lunatilia/beb25924253a1c9ce75d to your computer and use it in GitHub Desktop.
コンソール画面が消灯しないようにするスクリプト for Upstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "set terminal noblank" | |
author "Mitsuki Shirase" | |
start on stopped rc RUNLEVEL=[2345] | |
script | |
for TERMINAL in /dev/tty[1-6] ; do | |
/usr/bin/setterm -blank 0 -powersave off > ${TERMINAL} < ${TERMINAL} | |
done | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment