diff options
Diffstat (limited to 'services/agetty-serial')
-rw-r--r-- | services/agetty-serial/conf | 8 | ||||
l--------- | services/agetty-serial/finish | 2 | ||||
l---------[-rwxr-xr-x] | services/agetty-serial/run | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/services/agetty-serial/conf b/services/agetty-serial/conf new file mode 100644 index 0000000..b40bb22 --- /dev/null +++ b/services/agetty-serial/conf @@ -0,0 +1,8 @@ +GETTY_ARGS="-L" +if [ -x /sbin/agetty ]; then + # util-linux specific settings + GETTY_ARGS="${GETTY_ARGS} -8" +fi + +BAUD_RATE=115200 +TERM_NAME=vt100 diff --git a/services/agetty-serial/finish b/services/agetty-serial/finish index fa7eecd..ad464cb 120000 --- a/services/agetty-serial/finish +++ b/services/agetty-serial/finish @@ -1 +1 @@ -/etc/sv/agetty-generic/finish \ No newline at end of file +../agetty-generic/finish \ No newline at end of file diff --git a/services/agetty-serial/run b/services/agetty-serial/run index 58d795e..26e72f0 100755..120000 --- a/services/agetty-serial/run +++ b/services/agetty-serial/run @@ -1,3 +1 @@ -#!/bin/sh -tty=${PWD##*-} -exec setsid agetty -8 -L 115200 --noclear $tty vt100 +../agetty-generic/run \ No newline at end of file |