summaryrefslogtreecommitdiff
path: root/templates/system/console/powersave/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:50:52 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:50:52 -0700
commitb3a91f5c323625009895a1b0fd3e4806ba7327de (patch)
tree3e07d1ef5e8c34fcc27394938ea3e974251e870e /templates/system/console/powersave/node.def
parente1674494e1fe13c96fdeee44ed3ddb8f6b965f6a (diff)
parent4f57670b420b779484659a013e67d17976f99723 (diff)
downloadvyatta-cfg-system-b3a91f5c323625009895a1b0fd3e4806ba7327de.tar.gz
vyatta-cfg-system-b3a91f5c323625009895a1b0fd3e4806ba7327de.zip
Merge branch 'mendocino' of vm:vyatta/mendocino/vyatta-cfg-system into mendocino
Diffstat (limited to 'templates/system/console/powersave/node.def')
-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