aboutsummaryrefslogtreecommitdiff
path: root/contrib/getty.boot
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-14 12:53:15 +0300
committerCem Keylan <cem@ckyln.com>2020-02-14 12:53:15 +0300
commit0f5f911d9f5471ab8f27f5bb61d015c4961ca92d (patch)
treefe023e1150bbcb87ba5724a4e18d2699388d9947 /contrib/getty.boot
parent5d62e2705368673301827afe5dc53991b58fc414 (diff)
downloadinit-0f5f911d9f5471ab8f27f5bb61d015c4961ca92d.tar.gz
install getty.boot for unifying the launch of getty
Diffstat (limited to 'contrib/getty.boot')
-rw-r--r--contrib/getty.boot4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/getty.boot b/contrib/getty.boot
new file mode 100644
index 0000000..bb5a5e3
--- /dev/null
+++ b/contrib/getty.boot
@@ -0,0 +1,4 @@
+for getty in 1 2 3 4 5 6; do
+ while :; do /sbin/getty 38400 tty${getty} 2>&1 ; done & # busybox getty
+ while :; do /sbin/getty /dev/tty${getty} linux 2>&1 ; done & # ubase getty
+done