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
(
wait_for_network
case $RUNLEVEL in
boot)
(
wait_for_network
progress "mounting Network shares"
netmount > /dev/null 2>&1
)&
progress "mounting Network shares"
netmount > /dev/null 2>&1
)&
;;
poweroff|reboot)
;;
esac