From 4f57670b420b779484659a013e67d17976f99723 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Thu, 14 Oct 2010 16:49:42 -0700
Subject: 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
---
 templates/system/console/powersave/node.def | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 templates/system/console/powersave/node.def

(limited to 'templates/system/console/powersave/node.def')

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
-- 
cgit v1.2.3

