summary refs log tree commit diff
path: root/services/agetty-ttyAMA0
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-ttyAMA0
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-ttyAMA0')
l---------services/agetty-ttyAMA0/finish1
l---------services/agetty-ttyAMA0/run1
l---------services/agetty-ttyAMA0/supervise1
3 files changed, 3 insertions, 0 deletions
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