summary refs log tree commit diff
path: root/services/agetty-ttyS0/run
diff options
context:
space:
mode:
Diffstat (limited to 'services/agetty-ttyS0/run')
-rwxr-xr-xservices/agetty-ttyS0/run3
1 files changed, 3 insertions, 0 deletions
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