summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/system/console/powersave/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/system/console/powersave/node.def b/templates/system/console/powersave/node.def
index e863e020..da014a21 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: 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
+create: sudo sh -c \
+ "/usr/bin/setterm -blank 15 -powersave powerdown -powerdown 60 </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"