- dont include profile here
- cosmetics
This commit is contained in:
Stephan Raue 2010-05-18 14:07:51 +02:00
parent d4be5be3da
commit 1aa1806a5c

View File

@ -20,18 +20,15 @@
# http://www.gnu.org/copyleft/gpl.html # http://www.gnu.org/copyleft/gpl.html
################################################################################ ################################################################################
. /etc/profile
clear clear
# starting init scripts for wanted runlevel # starting init scripts for wanted runlevel
progress "Starting Init Scripts" RET=0
RET=0
for script in /etc/init.d/*; do for script in /etc/init.d/*; do
if grep -q -e "^# runlevels:.*$RUNLEVEL" $script; then if grep -q -e "^# runlevels:.*$RUNLEVEL" $script; then
/bin/sh $script /bin/sh $script
S_RET=$? S_RET=$?
test $S_RET -ge $RET && RET=$S_RET test $S_RET -ge $RET && RET=$S_RET
fi fi
done done