From 23055b3d7da4bfef00d302e91b87fa36f6f9be96 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 7 Feb 2020 17:34:55 +0300 Subject: sinit: add changes * Use official sources * Switch to 1.0 * Remove the ubase dependency * Use kpow by Dylan Araps for shutdown --- core/sinit/files/sinit-launch-services.boot | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'core/sinit/files/sinit-launch-services.boot') diff --git a/core/sinit/files/sinit-launch-services.boot b/core/sinit/files/sinit-launch-services.boot index 4cbb0570..6ba14057 100644 --- a/core/sinit/files/sinit-launch-services.boot +++ b/core/sinit/files/sinit-launch-services.boot @@ -1,14 +1,10 @@ -# we are going to start runit and getty here +# We are going to start runit and getty here -sinit_run_getty() { - for getty in 1 2 3 4 5 6; do - respawn /sbin/getty 38400 tty${getty} 2>&1 & - done -} +# Uncomment to enable gettys +# for getty in 1 2 3 4 5 6 ; do +# while :; do /sbin/getty tty${getty} 0 linux ; done & # busybox getty +# # while :; do /sbin/getty tty${getty} linux ; done & # ubase getty +# done -sinit_runit() { - respawn /usr/bin/runsvdir -P /var/service & -} - -[ "$SINIT_ENABLE_GETTY" = 1 ] && sinit_run_getty -[ "$SINIT_ENABLE_RUNIT" = 1 ] && sinit_runit +# Uncomment enable runit services +# while :; do /usr/bin/runsvdir -P /var/service ; done & -- cgit v1.2.3