CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: fixed AR usage and added ssl support (https)
[attic/ports/opt-cross.git] / dbus / rc.dbus
CommitLineData
4888efc2
VM
1#!/bin/sh
2#
3# /etc/rc.d/dbus: start/stop dbus messagebus daemon
4#
5
6case $1 in
7 start)
8 if [ ! -f /var/lib/dbus/machine-id ]
9 then
10 /usr/bin/dbus-uuidgen --ensure
11 fi
12 /usr/sbin/dbus-daemon --system
13 ;;
14 stop)
15 killall -q /usr/sbin/dbus-daemon
16 rm -f /var/run/dbus/dbus.pid
17 ;;
18 restart)
19 $0 stop
20 sleep 2
21 $0 start
22 ;;
23 *)
24 echo "Usage: $0 [start|stop|restart]"
25 ;;
26esac
27
28# End of file