blob: c51019790b84b614e3bc00431aa62d815b2c17f9 (
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
|
#!/bin/sh
# $FreeBSD$
# $MCom$
# 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%%
system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}}
name=system_tools_backends
rcvar=`set_rcvar`
command="%%PREFIX%%/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl"
pidfile="/var/run/system-tools-backends.pid"
load_rc_config ${name}
run_rc_command "$1"
|