busybox: dont start various init scripts in installer mode

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-03-22 20:04:47 +01:00
parent f056ffee6b
commit 902ae4a600
4 changed files with 23 additions and 21 deletions

View File

@ -38,11 +38,8 @@ progress "make variable directory structure"
touch /var/run/utmp
chmod 1777 /var/run/utmp
progress "make runtime directory structure"
ln -sf /storage/.config/modprobe.d /run/modprobe.d
progress "make logging directory structure"
if test "$DEBUG" = "yes"; then
if [ ! "$RUNLEVEL" = "installer" -a "$DEBUG" = "yes" ]; then
mkdir -p $HOME/log
ln -sf $HOME/log /var/log
else
@ -52,6 +49,10 @@ progress "make logging directory structure"
touch /var/log/wtmp
chmod 1777 /var/log/wtmp
if [ ! "$RUNLEVEL" = "installer" ]; then
progress "make runtime directory structure"
ln -sf /storage/.config/modprobe.d /run/modprobe.d
progress "make variable library directory structure"
# others:
mkdir -p /var/lib/polkit-1
@ -68,3 +69,4 @@ progress "make variable library directory structure"
progress "make caching directory structure"
mkdir -p $HOME/.cache/bluetooth
ln -sf $HOME/.cache/bluetooth /var/lib/bluetooth
fi

View File

@ -21,7 +21,7 @@
#
# setup cdrom settings
#
# runlevels: openelec, installer, textmode
# runlevels: openelec, textmode
progress "Setup some CDROM settings"
sysctl -w dev.cdrom.lock=0 > /dev/null 2>&1 &

View File

@ -21,7 +21,7 @@
#
# start syslog daemon
#
# runlevels: openelec, installer, textmode
# runlevels: openelec, textmode
(
progress "Starting Syslog daemon"