summaryrefslogtreecommitdiff
path: root/patches/source/util-linux/rc.setterm
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/util-linux/rc.setterm')
-rw-r--r--patches/source/util-linux/rc.setterm13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/source/util-linux/rc.setterm b/patches/source/util-linux/rc.setterm
new file mode 100644
index 00000000..b98b1020
--- /dev/null
+++ b/patches/source/util-linux/rc.setterm
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file provides the command line for the setterm utility to set the
+# terminal attributes (primarily used for screen blanking and power
+# management).
+
+# Screen blanks after 15 minutes idle time, and powers down in one hour
+# if the kernel supports APM or ACPI power management (default setting):
+/bin/setterm -blank 15 -powersave powerdown -powerdown 60
+
+# Screen does not blank or use power management features:
+#/bin/setterm -blank 0 -powersave off -powerdown 0
+