mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Revert "busybox: add initial support for shutdown scripts"
This reverts commit 18a4b9e055.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user