summaryrefslogtreecommitdiff
path: root/net/openvmps/files
diff options
context:
space:
mode:
authorbouyer <bouyer>2005-06-06 16:07:42 +0000
committerbouyer <bouyer>2005-06-06 16:07:42 +0000
commitc462c192c24accb2c6bfbfa8a69fb761072bd40f (patch)
treeef5befe9fe740e7781344a1e63db2bbe5d5937fd /net/openvmps/files
parente053ac487815680def4b1fbd69d4052d46ed9805 (diff)
downloadpkgsrc-c462c192c24accb2c6bfbfa8a69fb761072bd40f.tar.gz
Import openvmps 1.3 to the package collection.
VMPS (VLAN Management Policy Server) is a way of assigning switch ports to specific VLANs based on the MAC address of connecting device. OpenVMPS is a GPL implementation of VMPS.
Diffstat (limited to 'net/openvmps/files')
-rw-r--r--net/openvmps/files/vmpsd.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/openvmps/files/vmpsd.sh b/net/openvmps/files/vmpsd.sh
new file mode 100644
index 00000000000..10be1c0b403
--- /dev/null
+++ b/net/openvmps/files/vmpsd.sh
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: vmpsd.sh,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $
+#
+
+# PROVIDE: vmpsd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="vmpsd"
+rcvar="vmpsd"
+command="@PREFIX@/bin/${name}"
+required_files="@PKG_SYSCONFDIR@/vlan.db"
+extra_commands="reload"
+
+load_rc_config $name
+run_rc_command "$1"