summaryrefslogtreecommitdiffstats
path: root/net-mgmt/fprobe/files/fprobe.sh.in
blob: b2cff48f2b111982a45138fab1a9f81b939db225 (plain)
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
#

. /etc/rc.subr

name="%%NAME%%"
rcvar=%%NAME%%_enable

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"
OpenPOWER on IntegriCloud