summaryrefslogtreecommitdiff
path: root/security/doorman/files/doorman.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/doorman/files/doorman.in')
-rw-r--r--security/doorman/files/doorman.in26
1 files changed, 0 insertions, 26 deletions
diff --git a/security/doorman/files/doorman.in b/security/doorman/files/doorman.in
deleted file mode 100644
index bdc0dc115c49..000000000000
--- a/security/doorman/files/doorman.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: doorman
-# REQUIRE: LOGIN
-#
-# Add the following lines to /etc/rc.conf to enable doorman:
-# doorman_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable doorman
-# doorman_config (path): Set to "%%PREFIX%%/etc/doormand/doormand.cf" by default.
-
-. /etc/rc.subr
-
-name="doorman"
-rcvar=doorman_enable
-
-[ -z "$doorman_enable" ] && doorman_enable="NO"
-[ -z "$doorman_config" ] && doorman_config="%%PREFIX%%/etc/doormand/doormand.cf"
-
-[ -f "$doorman_config" ] || (echo "$doorman_config" does not exist.; exit)
-
-command=%%PREFIX%%/sbin/doormand
-pidfile=/var/run/doormand.pid
-command_args="-p $pidfile -f $doorman_config"
-
-load_rc_config $name
-run_rc_command "$1"