#!/bin/sh # $FreeBSD$ # $MCom: ports/sysutils/system-tools-backends/files/system-tools-backends.in,v 1.2 2006/12/01 19:58:56 marcus 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"