aboutsummaryrefslogtreecommitdiff
path: root/core/runit/files/2
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-13 11:34:51 +0300
committerCem Keylan <cem@ckyln.com>2020-02-13 11:34:51 +0300
commit14942f3c48055b4bd12d55b2e45162d806a97ee2 (patch)
tree3c7b79e377aa8ae42cd628f337aca9c094869525 /core/runit/files/2
parentdb137df80bb89928ec08bf696fe1a122377105a6 (diff)
downloadrepository-14942f3c48055b4bd12d55b2e45162d806a97ee2.tar.gz
runit: make it usable
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