From a709af45da60c5a280d5253be8ac215ff2b5dbdd Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 7 Sep 2011 23:13:52 +0200 Subject: [PATCH] dbus: start init scripts on RUNLEVEL=boot Signed-off-by: Stephan Raue --- packages/sysutils/dbus/init.d/14_dbus | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/packages/sysutils/dbus/init.d/14_dbus b/packages/sysutils/dbus/init.d/14_dbus index 6e84b9b8c7..76c3c7f19c 100644 --- a/packages/sysutils/dbus/init.d/14_dbus +++ b/packages/sysutils/dbus/init.d/14_dbus @@ -23,10 +23,17 @@ # # runlevels: openelec, textmode -( - progress "Starting D-BUS" +case $RUNLEVEL in + boot) + ( + progress "Starting D-BUS" - mkdir -p /var/lib/dbus /var/run/dbus - dbus-uuidgen --ensure - dbus-daemon --system -)& \ No newline at end of file + mkdir -p /var/lib/dbus /var/run/dbus + dbus-uuidgen --ensure + dbus-daemon --system + )& + ;; + + poweroff|reboot) + ;; +esac