stali-init

Stali init files. To be shared.
git clone git://r-36.net/stali-init
Log | Files | Refs

commit e47fe591cf4292a6c3591e7033e9e7026a123ed6
parent 61c56768f17f6a92861780b345f2fb701865926a
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat,  1 Mar 2014 17:38:57 +0100

No need for single mode.

Diffstat:
rc.single | 24------------------------
1 file changed, 0 insertions(+), 24 deletions(-)

diff --git a/rc.single b/rc.single @@ -1,24 +0,0 @@ -#!/bin/busybox ash - -. /cfg/rc.conf - -if [ "$PREVLEVEL" != "N" ]; -then - svc -k 2>&1 >/dev/null -fi - -if [ -f /run/bootlogd.pid ]; -then - printf "Stopping bootlogd.\n" - touch /var/log/boot - kill $(cat /run/bootlogd.pid) - rm -f /run/bootlogd.pid -fi - -if [ $RUNLEVEL -eq 1 ]; -then - printf "Entering single-user mode.\n" - kill -HUP 1 - exec init -t1 S -fi -