blob: c24715b6fc7eec3e534a155a9a28e7ec1bef195e (
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
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: fprobe
# REQUIRE: NETWORKING
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable %%NAME%%:
#
#%%NAME%%_enable="YES"
#
# See fprobe(8) for %%NAME%%_flags
#
. "%%RC_SUBR%%"
name="%%NAME%%"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/fprobe"
command_args="-i lo0 127.0.0.1:2055"
pidfile="/var/run/$name.pid"
load_rc_config "$name"
: ${fprobe_enable="NO"}
run_rc_command "$1"
|