All pastes #967577 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-02 14:55 UTC
rendered paste body
#!/bin/sh
#
# $FreeBSD: ports/devel/dbus/files/dbus.in,v 1.12 2008/03/24 03:49:35 marcus Exp $
#
# PROVIDE: dbus
# REQUIRE: DAEMON
#
# Add the following lines to /etc/rc.conf to enable the D-BUS messaging system:
#
# dbus_enable="YES"
#

. /etc/rc.subr
. /usr/local/etc/gnome.subr

dbus_enable=${dbus_enable-${gnome_enable}}
dbus_flags=${dbus_flags-"--system"}

name=dbus
rcvar=`set_rcvar`

command="/usr/local/bin/dbus-daemon"
pidfile="/var/run/dbus/${name}.pid"