summaryrefslogtreecommitdiff
path: root/net/ntop/files/ntop.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/ntop/files/ntop.in')
-rw-r--r--net/ntop/files/ntop.in37
1 files changed, 0 insertions, 37 deletions
diff --git a/net/ntop/files/ntop.in b/net/ntop/files/ntop.in
deleted file mode 100644
index bbedc786ffef..000000000000
--- a/net/ntop/files/ntop.in
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: ntop
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable ntop:
-#
-# ntop_enable (bool): Set it to "YES" to enable ntop
-# Default is "NO".
-# ntop_flags (flags): Set extra flags to ntop
-# Default is "-d --use-syslog=daemon". see ntop(8).
-#
-
-. /etc/rc.subr
-
-name=ntop
-rcvar=ntop_enable
-
-load_rc_config $name
-
-: ${ntop_enable="NO"}
-: ${ntop_flags="-d --use-syslog=daemon"}
-
-command=%%PREFIX%%/bin/ntop
-start_precmd="${name}_checkpw"
-
-ntop_checkpw()
-{
- if [ ! -f %%DBDIR%%/ntop/ntop_pw.db ]; then
- err 1 "Please set admin password for ntop. Run '%%PREFIX%%/bin/ntop -u nobody -A'"
- fi
-}
-
-run_rc_command "$1"