mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
busybox:
- dont include profile here - cosmetics
This commit is contained in:
parent
d4be5be3da
commit
1aa1806a5c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user