aboutsummaryrefslogtreecommitdiff
path: root/core/runit/files/2
diff options
context:
space:
mode:
Diffstat (limited to 'core/runit/files/2')
-rwxr-xr-xcore/runit/files/210
1 files changed, 10 insertions, 0 deletions
diff --git a/core/runit/files/2 b/core/runit/files/2
new file mode 100755
index 00000000..cae35839
--- /dev/null
+++ b/core/runit/files/2
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PATH=/usr/bin:
+
+for getty in 1 2 3 4 5 6 ; do
+ while :; do /sbin/getty 38400 tty${getty} 2>&1 ; done & # for busybox
+ # while :; do /sbin/getty /dev/tty${getty} linux 2>&1 ; done & # for ubase
+done
+
+exec /usr/bin/runsvdir -P /var/service