summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:49:42 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:49:42 -0700
commit4f57670b420b779484659a013e67d17976f99723 (patch)
tree10f9aefa75a954f0fed7a52f50a86a1637897cc9 /templates
parent1da0095f4155100887a98638f3a9d78ff94b82c0 (diff)
downloadvyatta-cfg-quagga-4f57670b420b779484659a013e67d17976f99723.tar.gz
vyatta-cfg-quagga-4f57670b420b779484659a013e67d17976f99723.zip
Add better control over console screen blanker
By default, turn console screenblanking off. If user wants to enable it, they can use: set system console powersave
Diffstat (limited to 'templates')
-rw-r--r--templates/system/console/powersave/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/system/console/powersave/node.def b/templates/system/console/powersave/node.def
new file mode 100644
index 00000000..e863e020
--- /dev/null
+++ b/templates/system/console/powersave/node.def
@@ -0,0 +1,6 @@
+help: Enable screen blank powersaving on VGA console
+
+create: setterm -blank 15 -powersave powerdown -powerdown 60 \
+ </dev/console >/dev/console 2>&1
+delete: setterm -blank 0 -powersave off -powerdown 0 \
+ </dev/console >/dev/console 2>&1