Files
Arch-R/packages/sysutils/busybox/scripts/init
Stephan Raue 917ed6e7ac busybox:
- clear screen on boot
2010-04-28 00:14:20 +02:00

16 lines
304 B
Bash
Executable File

#!/bin/sh -l
clear
# starting init scripts for wanted runlevel
progress "Starting Init Scripts"
RET=0
for script in /etc/init.d/*; do
if grep -q -e "^# runlevels:.*$RUNLEVEL" $script; then
. $script
S_RET=$?
test $S_RET -ge $RET && RET=$S_RET
fi
done