summary refs log tree commit diff
path: root/services/agetty-serial
diff options
context:
space:
mode:
Diffstat (limited to 'services/agetty-serial')
l---------services/agetty-serial/finish1
-rwxr-xr-xservices/agetty-serial/run3
2 files changed, 4 insertions, 0 deletions
diff --git a/services/agetty-serial/finish b/services/agetty-serial/finish
new file mode 120000
index 0000000..fa7eecd
--- /dev/null
+++ b/services/agetty-serial/finish
@@ -0,0 +1 @@
+/etc/sv/agetty-generic/finish
\ No newline at end of file
diff --git a/services/agetty-serial/run b/services/agetty-serial/run
new file mode 100755
index 0000000..58d795e
--- /dev/null
+++ b/services/agetty-serial/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+tty=${PWD##*-}
+exec setsid agetty -8 -L 115200 --noclear $tty vt100