Revert "busybox: add initial support for shutdown scripts"

This reverts commit 18a4b9e055a568e20c6d7dfdd2a721e67b940d48.
This commit is contained in:
Stephan Raue 2011-09-12 19:28:49 +02:00
parent 86d8de73db
commit c161e997d7

View File

@ -46,8 +46,6 @@
progress "Starting Init Scripts"
RET=0
RUNLEVEL="boot"
for script in `ls -1 /etc/init.d/*`; do
if grep -q -e "^# runlevels:.*$MODE" $script; then
. $script
@ -55,15 +53,3 @@
test $S_RET -ge $RET && RET=$S_RET
fi
done
if [ -z "$RUNLEVEL" -o $RUNLEVEL="boot" ]; then
RUNLEVEL="poweroff"
fi
for script in `ls -r1 /etc/init.d/*`; do
if grep -q -e "^# runlevels:.*$MODE" $script; then
. $script
S_RET=$?
test $S_RET -ge $RET && RET=$S_RET
fi
done