diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-14 16:57:14 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-14 16:57:14 -0700 |
commit | ed1cac00ffa03350da69718621ebe6186b154f50 (patch) | |
tree | f23ddfb53dad46492e12c6fbd759a0c51228992c /templates | |
parent | b3a91f5c323625009895a1b0fd3e4806ba7327de (diff) | |
download | vyatta-cfg-quagga-ed1cac00ffa03350da69718621ebe6186b154f50.tar.gz vyatta-cfg-quagga-ed1cac00ffa03350da69718621ebe6186b154f50.zip |
Need sudo to change console settings
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/console/powersave/node.def | 8 |
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" |