summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriyEshenko <snooppy@mail.ua>2019-08-12 17:03:18 +0000
committerDaniil Baturin <daniil@vyos.io>2020-06-19 01:38:24 +0300
commita6c49f5f40ccc69bd770a26262ecad6038e39288 (patch)
tree64c86430f619109df83c87c08e75dc4d2f5f0963
parentd1c7e9c16cd8253d31ed3ef8e027bc00b41e944e (diff)
downloadvyatta-cfg-system-a6c49f5f40ccc69bd770a26262ecad6038e39288.tar.gz
vyatta-cfg-system-a6c49f5f40ccc69bd770a26262ecad6038e39288.zip
[powersave] T1577 Fixing console powersave
-rw-r--r--templates/system/console/powersave/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/system/console/powersave/node.def b/templates/system/console/powersave/node.def
index da014a21..7ad3d1a1 100644
--- a/templates/system/console/powersave/node.def
+++ b/templates/system/console/powersave/node.def
@@ -1,6 +1,6 @@
help: Enable screen blank powersaving on VGA console
create: sudo sh -c \
- "/usr/bin/setterm -blank 15 -powersave powerdown -powerdown 60 </dev/console >/dev/console 2>&1"
+ "/usr/bin/setterm -blank 15 -powersave powerdown -powerdown 60 -term linux </dev/console >/dev/console 2>&1"
delete: sudo sh -c \
- "/usr/bin/setterm -blank 0 -powersave off -powerdown 0 </dev/console >/dev/console 2>&1"
+ "/usr/bin/setterm -blank 0 -powersave off -powerdown 0 -term linux </dev/console >/dev/console 2>&1" \ No newline at end of file