From 3d613abe06b0d85102a8a00f4d2a64779487a4e2 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Tue, 6 Mar 2018 16:36:33 +0100 Subject: [PATCH] gh-95: Disable console blanking Closes #95 --- src/etc/one-context.d/loc-30-console##one | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 src/etc/one-context.d/loc-30-console##one diff --git a/src/etc/one-context.d/loc-30-console##one b/src/etc/one-context.d/loc-30-console##one new file mode 100755 index 0000000..92b83cb --- /dev/null +++ b/src/etc/one-context.d/loc-30-console##one @@ -0,0 +1,5 @@ +#!/bin/bash + +for DEV_TTY in /dev/tty[0-9]*; do + TERM=linux setterm -blank 0 -powerdown 0 >>"${DEV_TTY}" +done