blob: b23f16bb26481fda5af7b8ba57a233d61b942d37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
# $FreeBSD$
# $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"
|