Revert "busybox: start init scripts on RUNLEVEL=boot"

This reverts commit 5a491d0429d617ed602debcb5dff3d51d973f7f3.
This commit is contained in:
Stephan Raue 2011-09-12 19:24:34 +02:00
parent 23675d8ae2
commit 78187629c4
8 changed files with 75 additions and 130 deletions

View File

@ -23,11 +23,5 @@
#
# runlevels: openelec, installer, textmode
case $RUNLEVEL in
boot)
progress "mounting needed filesystems"
mount -n -t ramfs none /var
;;
poweroff|reboot)
;;
esac

View File

@ -23,8 +23,6 @@
#
# runlevels: openelec, installer, textmode
case $RUNLEVEL in
boot)
progress "make variable directory structure"
mkdir -p /var/cache \
/var/lock \
@ -60,10 +58,3 @@ case $RUNLEVEL in
mkdir -p /var/lib/udisks
mkdir -p /var/lib/upower
;;
poweroff|reboot)
;;
esac

View File

@ -25,8 +25,7 @@
TTY="3"
if [ "$DEBUG" = "yes" ]; then
case $RUNLEVEL in
boot)
echo "###########################################"
echo "## it seems we are running in Debug mode ##"
echo "## starting debugging shell on console $TTY ##"
@ -34,9 +33,5 @@ if [ "$DEBUG" = "yes" ]; then
echo "###########################################"
openvt -w -c $TTY /bin/sh &
;;
poweroff|reboot)
;;
esac
fi

View File

@ -25,16 +25,9 @@
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
case $RUNLEVEL in
boot)
if [ -f "$OPENELEC_SETTINGS" ]; then
progress "creating system settings"
mkdir -p /var/config
cat "$OPENELEC_SETTINGS" | awk -F\" '{print $2"=\""$4"\""}' | sed '/^=/d' > /var/config/settings.conf
fi
;;
poweroff|reboot)
;;
esac

View File

@ -23,8 +23,6 @@
#
# runlevels: openelec, textmode
case $RUNLEVEL in
boot)
if [ -d /usr/config ]; then
progress "copy userconfig and samples"
@ -45,8 +43,3 @@ case $RUNLEVEL in
cp $sample /storage/.config/$sample
done
fi
;;
poweroff|reboot)
;;
esac

View File

@ -23,8 +23,6 @@
#
# runlevels: openelec, installer, textmode
case $RUNLEVEL in
boot)
(
progress "Starting Syslog daemon"
syslogd
@ -32,8 +30,3 @@ case $RUNLEVEL in
progress "Starting Kernellog daemon"
klogd
)&
;;
poweroff|reboot)
;;
esac

View File

@ -23,12 +23,5 @@
#
# runlevels: openelec, installer, textmode
case $RUNLEVEL in
boot)
progress "Setup some CDROM settings"
sysctl -w dev.cdrom.lock=0 > /dev/null 2>&1 &
;;
poweroff|reboot)
;;
esac

View File

@ -24,8 +24,6 @@
TTY="1"
case $RUNLEVEL in
boot)
echo "###########################################"
echo "## it seems we are running in Text mode. ##"
echo "## .... starting shell on console $TTY .... ##"
@ -35,8 +33,3 @@ case $RUNLEVEL in
while true; do
openvt -w -c $TTY /bin/sh
done
;;
poweroff|reboot)
;;
esac