aboutsummaryrefslogtreecommitdiff
path: root/net/sulci/files/sulci.sh.in
blob: 549e2173acc93e79f1eb05160c8a5e9eae53db28 (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
27
28
29
30
#!/bin/sh
# $FreeBSD$

# PROVIDE: sulci
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown

# Define these sulci_* variables in one of these files:
#       /etc/rc.conf
#       /etc/rc.conf.local
#       /etc/rc.conf.d/sulci
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
sulci_enable=${sulci_enable-"NO"}
sulci_precmd=":"

. %%RC_SUBR%%

name="sulci"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/sulci"
command_args="&"

load_rc_config $name

start_precmd="${sulci_precmd}"

run_rc_command "$1"