From ee4768ba530bed341dde137c239ee99caf95e3fd Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 22 Apr 2020 17:34:44 +0200 Subject: [PATCH] contrib: Let tty1 be available in runlevel 1 on Void and Alpine The default runlevels are otherwise 2-5. Usually, however, when debugging a system you may want to have runlevel 1 (single user level) available to log in. Signed-off-by: Joachim Nilsson --- contrib/alpine/finit.d/available/getty.conf | 6 +++--- contrib/void/finit.d/available/getty.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/alpine/finit.d/available/getty.conf b/contrib/alpine/finit.d/available/getty.conf index d0641ab9..93d19576 100644 --- a/contrib/alpine/finit.d/available/getty.conf +++ b/contrib/alpine/finit.d/available/getty.conf @@ -1,4 +1,4 @@ # Consoles to start getty on when system is up -tty /dev/tty1 noclear nowait -tty /dev/tty2 noclear nowait -tty /dev/tty3 noclear nowait +tty [12345] /dev/tty1 noclear nowait +tty [2345] /dev/tty2 noclear nowait +tty [2345] /dev/tty3 noclear nowait diff --git a/contrib/void/finit.d/available/getty.conf b/contrib/void/finit.d/available/getty.conf index 080112eb..6d31e47d 100644 --- a/contrib/void/finit.d/available/getty.conf +++ b/contrib/void/finit.d/available/getty.conf @@ -1,4 +1,4 @@ # Consoles to start Finit built-in getty on when system is up -tty /dev/tty1 noclear nowait -tty /dev/tty2 noclear nowait -tty /dev/tty3 noclear nowait +tty [12345] /dev/tty1 noclear nowait +tty [2345] /dev/tty2 noclear nowait +tty [2345] /dev/tty3 noclear nowait