stali-init

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

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

No need for rc.multi.

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

diff --git a/rc.multi b/rc.multi @@ -1,61 +0,0 @@ -#!/bin/busybox ash - -. /cfg/rc.conf - -nlpid=$(pidof nldev) -if [ -n $nlpid ]; -then - printf "Killing single nldev.\n" - kill -9 $nlpid -fi - -printf "Taking over from init nldev to multi nldev.\n" -run_nldev &>/dev/null & - -printf "Triggering all events again.\n" -nltrigger add all - -printf "Running sysctl.\n" -sysctl -p /cfg/sysctl.conf &>/dev/null -for path in /usr/lib/sysctl.d /cfg/sysctl.d /run/sysctl.d; -do - if [ -d $path ]; - then - for file in $(ls -1 $path); - do - sysctl -p $file &>/dev/null - done - fi -done - -printf "Running binfmt.\n" -mountpoint -q /proc/sys/fs/binfmt_misc || \ - mount -t binfmt_misc binfmt /proc/sys/fs/binfmt_misc -for path in /usr/lib/binfmt.d /cfg/binfmt.d /run/binfmt.d; -do - [ ! -d $path ] && continue; - for file in $(ls -1 $path); - do - grep "^:" $file | \ - while read -r line; - do - printf "%s" "$line" \ - > /proc/sys/fs/binfmt_misc/register - done - done -done - -sleep 1 -printf "Running rc.local.\n" -[ -x /bin/rc.local ] && /bin/rc.local - -printf "Killing bootlogd.\n" -if [ -f /run/bootlogd.pid ]; -then - kill $(cat /run/bootlogd.pid) - rm -f /run/bootlogd.pid -fi -[ -e /run/boot.log ] && mv /run/boot.log /var/log/boot - -# next is tty1 from stali.inittab -