diff options
Diffstat (limited to 'services/agetty-ttyS0')
l--------- | services/agetty-ttyS0/finish | 1 | ||||
-rwxr-xr-x | services/agetty-ttyS0/run | 3 | ||||
l--------- | services/agetty-ttyS0/supervise | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/services/agetty-ttyS0/finish b/services/agetty-ttyS0/finish new file mode 120000 index 0000000..fa7eecd --- /dev/null +++ b/services/agetty-ttyS0/finish @@ -0,0 +1 @@ +/etc/sv/agetty-generic/finish \ No newline at end of file diff --git a/services/agetty-ttyS0/run b/services/agetty-ttyS0/run new file mode 100755 index 0000000..0f60e37 --- /dev/null +++ b/services/agetty-ttyS0/run @@ -0,0 +1,3 @@ +#!/bin/sh +tty=${PWD##*-} +exec setsid /sbin/agetty -8 -s 9600 --noclear $tty linux diff --git a/services/agetty-ttyS0/supervise b/services/agetty-ttyS0/supervise new file mode 120000 index 0000000..cd9e77f --- /dev/null +++ b/services/agetty-ttyS0/supervise @@ -0,0 +1 @@ +/run/runit/supervise.agetty-ttyS0 \ No newline at end of file |