summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:04:46 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:04:46 -0700
commit66f912cf8d9934da3a3a9f1050c630e6bee836dc (patch)
tree7dd5b27528d1138e8739ea5c799601c75a2b1968 /scripts/rl-system.init
parent0456b335c1090db9ef381e2f7f4aca8311d8b438 (diff)
downloadvyatta-cfg-system-66f912cf8d9934da3a3a9f1050c630e6bee836dc.tar.gz
vyatta-cfg-system-66f912cf8d9934da3a3a9f1050c630e6bee836dc.zip
Turn off screen blanking on console
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index e2abc05b..1f43e331 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -203,6 +203,8 @@ start () {
update_version_info
+ # Turn off console screen blanker
+ setterm -blank 0 -powersave off -powerdown 0 </dev/console >/dev/console 2>&1
## Clear out apt config file--it will be filled in by rtrmgr
empty /etc/apt/sources.list
}