util-linux: start init scripts on RUNLEVEL=boot

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-09-07 23:11:57 +02:00
parent c139293fb3
commit afb6f13517

View File

@ -23,6 +23,8 @@
#
# runlevels: openelec, textmode
case $RUNLEVEL in
boot)
(
INSTALLED_MEMORY=`cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2}'`
SWAP=`blkid -t TYPE="swap" -o device`
@ -49,3 +51,8 @@
fi
fi
)&
;;
poweroff|reboot)
;;
esac