diff options
author | Juan RP <xtraeme@gmail.com> | 2015-01-17 11:28:28 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2015-01-17 11:28:28 +0100 |
commit | 92203d6fe705e7571611553aa471b3767a433473 (patch) | |
tree | 1821970692da51ac876782c37c90aead4f37b066 /services/agetty-serial/run | |
parent | 15328a1ea5fa57ffcd9636998d4f9eb7ae75c0ed (diff) | |
download | runit-void-92203d6fe705e7571611553aa471b3767a433473.tar.gz runit-void-92203d6fe705e7571611553aa471b3767a433473.tar.xz runit-void-92203d6fe705e7571611553aa471b3767a433473.zip |
services: create services for serial ports: ttyS0, ttyAMA0 and ttyUSB0.
This should cover 99% of cases.
Diffstat (limited to 'services/agetty-serial/run')
-rwxr-xr-x | services/agetty-serial/run | 3 |
1 files changed, 3 insertions, 0 deletions
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 |