about summary refs log tree commit diff
path: root/services/agetty-tty1/conf
diff options
context:
space:
mode:
Diffstat (limited to 'services/agetty-tty1/conf')
-rw-r--r--services/agetty-tty1/conf4
1 files changed, 3 insertions, 1 deletions
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