diff options
Diffstat (limited to 'services')
l--------- | services/agetty-serial/finish | 1 | ||||
-rwxr-xr-x | services/agetty-serial/run | 3 | ||||
l--------- | services/agetty-ttyAMA0/finish | 1 | ||||
l--------- | services/agetty-ttyAMA0/run | 1 | ||||
l--------- | services/agetty-ttyAMA0/supervise | 1 | ||||
l---------[-rwxr-xr-x] | services/agetty-ttyS0/run | 4 | ||||
l--------- | services/agetty-ttyUSB0/finish | 1 | ||||
l--------- | services/agetty-ttyUSB0/run | 1 | ||||
l--------- | services/agetty-ttyUSB0/supervise | 1 |
9 files changed, 11 insertions, 3 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 diff --git a/services/agetty-ttyAMA0/finish b/services/agetty-ttyAMA0/finish new file mode 120000 index 0000000..fa7eecd --- /dev/null +++ b/services/agetty-ttyAMA0/finish @@ -0,0 +1 @@ +/etc/sv/agetty-generic/finish \ No newline at end of file diff --git a/services/agetty-ttyAMA0/run b/services/agetty-ttyAMA0/run new file mode 120000 index 0000000..bfaca3e --- /dev/null +++ b/services/agetty-ttyAMA0/run @@ -0,0 +1 @@ +/etc/sv/agetty-serial/run \ No newline at end of file diff --git a/services/agetty-ttyAMA0/supervise b/services/agetty-ttyAMA0/supervise new file mode 120000 index 0000000..b92ae83 --- /dev/null +++ b/services/agetty-ttyAMA0/supervise @@ -0,0 +1 @@ +/run/runit/supervise.agetty-ttyAMA0 \ No newline at end of file diff --git a/services/agetty-ttyS0/run b/services/agetty-ttyS0/run index 5a129b2..bfaca3e 100755..120000 --- a/services/agetty-ttyS0/run +++ b/services/agetty-ttyS0/run @@ -1,3 +1 @@ -#!/bin/sh -tty=${PWD##*-} -exec setsid agetty -8 -s 9600 --noclear $tty linux +/etc/sv/agetty-serial/run \ No newline at end of file diff --git a/services/agetty-ttyUSB0/finish b/services/agetty-ttyUSB0/finish new file mode 120000 index 0000000..fa7eecd --- /dev/null +++ b/services/agetty-ttyUSB0/finish @@ -0,0 +1 @@ +/etc/sv/agetty-generic/finish \ No newline at end of file diff --git a/services/agetty-ttyUSB0/run b/services/agetty-ttyUSB0/run new file mode 120000 index 0000000..bfaca3e --- /dev/null +++ b/services/agetty-ttyUSB0/run @@ -0,0 +1 @@ +/etc/sv/agetty-serial/run \ No newline at end of file diff --git a/services/agetty-ttyUSB0/supervise b/services/agetty-ttyUSB0/supervise new file mode 120000 index 0000000..1acc293 --- /dev/null +++ b/services/agetty-ttyUSB0/supervise @@ -0,0 +1 @@ +/run/runit/supervise.agetty-ttyUSB0 \ No newline at end of file |