blob: f2b1fee571ed83872fe826ce8a1bfabfa10f36db (
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
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ntop
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable ntop:
#
#ntop_enable="YES"
#
# See ntop(8) for flags
#
. %%RC_SUBR%%
name=ntop
rcvar=`set_rcvar`
command=%%PREFIX%%/bin/ntop
ntop_enable=${ntop_enable:-"NO"}
ntop_flags=${ntop_flags:-"-d --use-syslog=daemon"}
load_rc_config $name
run_rc_command "$1"
|