diff options
Diffstat (limited to 'services/agetty-tty1')
-rw-r--r-- | services/agetty-tty1/conf | 7 | ||||
l---------[-rwxr-xr-x] | services/agetty-tty1/run | 12 |
2 files changed, 8 insertions, 11 deletions
diff --git a/services/agetty-tty1/conf b/services/agetty-tty1/conf new file mode 100644 index 0000000..977d7ef --- /dev/null +++ b/services/agetty-tty1/conf @@ -0,0 +1,7 @@ +if [ -x /sbin/getty ]; then + # util-linux specific settings + GETTY_ARGS="--no-clear" +fi + +baud_rate=38400 +term_name=linux diff --git a/services/agetty-tty1/run b/services/agetty-tty1/run index dc01b10..26e72f0 100755..120000 --- a/services/agetty-tty1/run +++ b/services/agetty-tty1/run @@ -1,11 +1 @@ -#!/bin/sh -tty=${PWD##*-} -if [ -x /sbin/getty ]; then - # busybox - GETTY=getty -elif [ -x /sbin/agetty ]; then - # util-linux - GETTY=agetty - GETTY_ARGS="--noclear" -fi -exec setsid $GETTY $GETTY_ARGS $tty 38400 linux +../agetty-generic/run \ No newline at end of file |