#!/bin/sh
# $FreeBSD: ports/sysutils/system-tools-backends/files/system-tools-backends.in,v 1.2 2007/10/24 23:36:40 marcus Exp $
#    $MCom: ports/sysutils/system-tools-backends/files/system-tools-backends.in,v 1.5 2007/07/10 16:47:46 ahze Exp $

# PROVIDE: system-tools-backends
# REQUIRE: DAEMON dbus
#
# Add the following to /etc/rc.conf to start SystemToolsBackends at boot time:
#
# system_tools_backends_enable="YES"
#

. %%RC_SUBR%%
. %%GNOME_SUBR%%

export PATH=${PATH}:%%PREFIX%%/bin

system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}}

name=system_tools_backends
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/system-tools-backends"
pidfile="/var/run/system-tools-backends.pid"

load_rc_config ${name}
run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1