2007-10-03 07:46:16 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-11 15:46:30 +00:00
|
|
|
# Copyright (C) 2007-2011 OpenWrt.org
|
2007-10-03 07:46:16 +00:00
|
|
|
|
|
|
|
START=60
|
2008-09-27 17:29:26 +00:00
|
|
|
|
2011-11-11 15:46:30 +00:00
|
|
|
SERVICE_PID_FILE=/var/run/dbus.pid
|
2007-10-03 07:46:16 +00:00
|
|
|
|
2011-11-11 15:46:30 +00:00
|
|
|
start() {
|
|
|
|
mkdir -m 0755 -p /var/lib/dbus
|
|
|
|
mkdir -m 0755 -p /var/run/dbus
|
|
|
|
[ -x /usr/bin/dbus-uuidgen ] && /usr/bin/dbus-uuidgen --ensure
|
|
|
|
service_start /usr/sbin/dbus-daemon --system
|
2007-10-03 07:46:16 +00:00
|
|
|
}
|
|
|
|
|
2011-11-11 15:46:30 +00:00
|
|
|
stop() {
|
|
|
|
service_stop /usr/sbin/dbus-daemon && rm $SERVICE_PID_FILE
|
2007-10-03 07:46:16 +00:00
|
|
|
}
|