From aeeb2b4b8459d853be85aa894c5be1aa140510ad Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 2 Apr 2015 13:01:43 +0200 Subject: agetty-tty1: unbreak and only apply --noclear on tty1. --- services/agetty-tty1/conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'services/agetty-tty1') diff --git a/services/agetty-tty1/conf b/services/agetty-tty1/conf index 19cbabb..7c684e9 100644 --- a/services/agetty-tty1/conf +++ b/services/agetty-tty1/conf @@ -1,6 +1,8 @@ if [ -x /sbin/agetty ]; then # util-linux specific settings - GETTY_ARGS="--no-clear" + if [ "${tty}" = "tty1" ]; then + GETTY_ARGS="--noclear" + fi fi BAUD_RATE=38400 -- cgit 1.4.1