diff options
author | Cem Keylan <cem@ckyln.com> | 2020-02-13 11:34:51 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-02-13 11:34:51 +0300 |
commit | 14942f3c48055b4bd12d55b2e45162d806a97ee2 (patch) | |
tree | 3c7b79e377aa8ae42cd628f337aca9c094869525 /core/runit/files/2 | |
parent | db137df80bb89928ec08bf696fe1a122377105a6 (diff) | |
download | repository-14942f3c48055b4bd12d55b2e45162d806a97ee2.tar.gz |
runit: make it usable
Diffstat (limited to 'core/runit/files/2')
-rwxr-xr-x | core/runit/files/2 | 10 |
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 |