atvclient: 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:12:56 +02:00
parent 69a0dab3f7
commit 9c236f8331

View File

@ -22,8 +22,15 @@
#
# runlevels: openelec, textmode
(
progress "starting ATVclient"
mkdir -p /storage/.cache
atvclient -m > /dev/null 2>&1
)&
case $RUNLEVEL in
boot)
(
progress "starting ATVclient"
mkdir -p /storage/.cache
atvclient -m > /dev/null 2>&1
)&
;;
poweroff|reboot)
;;
esac