Lines 8-25
Link Here
|
8 |
# |
8 |
# |
9 |
# Add the following line to /etc/rc.conf[.local] to enable cf-serverd(8) |
9 |
# Add the following line to /etc/rc.conf[.local] to enable cf-serverd(8) |
10 |
# |
10 |
# |
11 |
# cf-serverd_enable (bool): Set to "NO" by default. |
11 |
# cf_serverd_enable (bool): Set to "NO" by default. |
12 |
# Set it to "YES" to enable cf-serverd. |
12 |
# Set it to "YES" to enable cf-serverd. |
13 |
# cf-serverd_flags (str): Custom additional arguments to be passed |
13 |
# cf_serverd_flags (str): Custom additional arguments to be passed |
14 |
# to cf-serverd (default empty). |
14 |
# to cf-serverd (default empty). |
15 |
# |
15 |
# |
16 |
|
16 |
|
17 |
. /etc/rc.subr |
17 |
. /etc/rc.subr |
18 |
|
18 |
|
19 |
name="cf-serverd" |
19 |
name="cf_serverd" |
20 |
rcvar=${name}_enable |
20 |
rcvar=${name}_enable |
21 |
|
21 |
|
22 |
command="%%PREFIX%%/sbin/${name}" |
22 |
command="%%PREFIX%%/sbin/cf-serverd" |
23 |
|
23 |
|
24 |
load_rc_config $name |
24 |
load_rc_config $name |