From 9c236f8331545bb8ca8b51523e93b2a49a15cbd3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 7 Sep 2011 23:12:56 +0200 Subject: [PATCH] atvclient: start init scripts on RUNLEVEL=boot Signed-off-by: Stephan Raue --- .../remote/atvclient/init.d/63_atvclient | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/packages/sysutils/remote/atvclient/init.d/63_atvclient b/packages/sysutils/remote/atvclient/init.d/63_atvclient index ae9fec59dc..1689c11776 100644 --- a/packages/sysutils/remote/atvclient/init.d/63_atvclient +++ b/packages/sysutils/remote/atvclient/init.d/63_atvclient @@ -22,8 +22,15 @@ # # runlevels: openelec, textmode -( - progress "starting ATVclient" - mkdir -p /storage/.cache - atvclient -m > /dev/null 2>&1 -)& \ No newline at end of file +case $RUNLEVEL in + boot) + ( + progress "starting ATVclient" + mkdir -p /storage/.cache + atvclient -m > /dev/null 2>&1 + )& + ;; + + poweroff|reboot) + ;; +esac