about summary refs log tree commit diff
path: root/services/agetty-ttyS0/run
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-01-17 11:28:28 +0100
committerJuan RP <xtraeme@gmail.com>2015-01-17 11:28:28 +0100
commit92203d6fe705e7571611553aa471b3767a433473 (patch)
tree1821970692da51ac876782c37c90aead4f37b066 /services/agetty-ttyS0/run
parent15328a1ea5fa57ffcd9636998d4f9eb7ae75c0ed (diff)
downloadrunit-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-ttyS0/run')
l---------[-rwxr-xr-x]services/agetty-ttyS0/run4
1 files changed, 1 insertions, 3 deletions
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