diff options
author | Juan RP <xtraeme@gmail.com> | 2015-04-02 13:01:43 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2015-04-02 13:01:43 +0200 |
commit | aeeb2b4b8459d853be85aa894c5be1aa140510ad (patch) | |
tree | e39718026a090ddb6907c3d4690344adc5c6a0cf /services/agetty-tty1 | |
parent | 5e16d475f1e52af951080b0cd1b8109239f4bee5 (diff) | |
download | runit-void-aeeb2b4b8459d853be85aa894c5be1aa140510ad.tar.gz runit-void-aeeb2b4b8459d853be85aa894c5be1aa140510ad.tar.xz runit-void-aeeb2b4b8459d853be85aa894c5be1aa140510ad.zip |
agetty-tty1: unbreak and only apply --noclear on tty1. 20150402.1
Diffstat (limited to 'services/agetty-tty1')
-rw-r--r-- | services/agetty-tty1/conf | 4 |
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 |