You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
342 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2007-2011 OpenWrt.org
  3. START=60
  4. SERVICE_PID_FILE=/var/run/dbus.pid
  5. start() {
  6. mkdir -m 0755 -p /var/lib/dbus
  7. mkdir -m 0755 -p /var/run/dbus
  8. [ -x /usr/bin/dbus-uuidgen ] && /usr/bin/dbus-uuidgen --ensure
  9. service_start /usr/bin/dbus-daemon --system
  10. }
  11. stop() {
  12. service_stop /usr/bin/dbus-daemon
  13. }