stali-init

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

commit c58b5ec95b7de4d207f2b4029074cb9ebb467e44
parent 376703b08351274682217cce3637326aba97c811
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat,  1 Mar 2014 17:37:47 +0100

Moving the service part to its own file.

Diffstat:
inittab.busybox | 2+-
rc.local | 3---
rc.svc | 8++++++++
3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/inittab.busybox b/inittab.busybox @@ -3,7 +3,7 @@ # ::sysinit:/bin/rc.init -::once:/bin/rc.multi +::once:/bin/rc.svc tty1::respawn:/sbin/agetty --noclear -8 38400 tty1 linux tty2::respawn:/sbin/agetty --noclear -8 38400 tty2 linux diff --git a/rc.local b/rc.local @@ -3,6 +3,3 @@ # /etc/rc.local: Local multi-user startup script. # -printf "Running services.\n" -svc -s 2>&1 >/dev/null - diff --git a/rc.svc b/rc.svc @@ -0,0 +1,8 @@ +#!/bin/sh + +printf "Running services.\n" +svc -s >/dev/null 2>&1 + +printf "Running rc.local.\n" +[ -x /bin/rc.local ] && /bin/rc.local +