mirror of the now-defunct rocklinux.org
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.

16 lines
377 B

  1. # Desc: D-Bus Message Bus Daemon
  2. # Runlevel: 61 rcX
  3. main_begin
  4. block_begin(start, `Setting up D-Bus.')
  5. check(`mkdir -p /var/run/dbus')
  6. check(`D_prefix/bin/dbus-daemon --system')
  7. block_end
  8. block_begin(stop, `Shutting down D-Bus.')
  9. check(`D_prefix/bin/killall D_prefix/bin/dbus-daemon')
  10. check(`rm -f /var/run/dbus/{pid,system-socket}')
  11. block_end
  12. main_end