summaryrefslogtreecommitdiffstats
path: root/security/vpnd/files/vpnd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/vpnd/files/vpnd.sh')
-rw-r--r--security/vpnd/files/vpnd.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/vpnd/files/vpnd.sh b/security/vpnd/files/vpnd.sh
new file mode 100644
index 0000000..9ec0fa7
--- /dev/null
+++ b/security/vpnd/files/vpnd.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# PROVIDE: vpnd
+# REQUIRE: NETWORKING SERVERS
+# BEFORE: DAEMON
+# KEYWORD: FreeBSD shutdown
+#
+# Note:
+# Set "vpnd_enable=yes" in either /etc/rc.conf, /etc/rc.conf.local or
+# /etc/rc.conf.d/vpnd to make this script actually do something.
+#
+# Please see rc.conf(5) and rc(8) for further details.
+#
+
+vpnd_enable=${vpnd_enable:-"NO"}
+
+. /etc/rc.subr
+
+name=vpnd
+command=/usr/local/sbin/vpnd
+rcvar=`set_rcvar`
+load_rc_config ${name}
+
+run_rc_command "$1"
OpenPOWER on IntegriCloud