netmount: 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:10:28 +02:00
parent 0946759631
commit 8569249f92

View File

@ -22,9 +22,16 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
( case $RUNLEVEL in
wait_for_network boot)
(
wait_for_network
progress "mounting Network shares" progress "mounting Network shares"
netmount > /dev/null 2>&1 netmount > /dev/null 2>&1
)& )&
;;
poweroff|reboot)
;;
esac