summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init b/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init
index 0351190af7..04025e65f8 100644
--- a/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init
+++ b/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init
@@ -16,6 +16,9 @@
16 16
17set -e 17set -e
18 18
19# Source function library.
20. /etc/init.d/functions
21
19DAEMON=@bindir@/dbus-daemon 22DAEMON=@bindir@/dbus-daemon
20NAME=dbus 23NAME=dbus
21DAEMONUSER=messagebus # must match /etc/dbus-1/system.conf 24DAEMONUSER=messagebus # must match /etc/dbus-1/system.conf
@@ -99,6 +102,10 @@ case "$1" in
99 stop) 102 stop)
100 shut_it_down 103 shut_it_down
101 ;; 104 ;;
105 status)
106 status $DAEMON
107 exit $?
108 ;;
102 reload|force-reload) 109 reload|force-reload)
103 reload_it 110 reload_it
104 ;; 111 ;;
@@ -108,7 +115,7 @@ case "$1" in
108 start_it_up 115 start_it_up
109 ;; 116 ;;
110 *) 117 *)
111 echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 118 echo "Usage: /etc/init.d/$NAME {start|stop|status|restart|reload|force-reload}" >&2
112 exit 1 119 exit 1
113 ;; 120 ;;
114esac 121esac