summaryrefslogtreecommitdiffstats
path: root/security/openvpn20/files
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-10-25 20:55:29 +0000
committerobraun <obraun@FreeBSD.org>2002-10-25 20:55:29 +0000
commit1943990e6230bb0e500c69560e1fba0236ce1197 (patch)
treeb426a2120ef94f596e1560f299093ea317924312 /security/openvpn20/files
parentf1c6f7bea1e0e0ebd4ab8ee54de12f9e5af52134 (diff)
downloadFreeBSD-ports-1943990e6230bb0e500c69560e1fba0236ce1197.zip
FreeBSD-ports-1943990e6230bb0e500c69560e1fba0236ce1197.tar.gz
* Upgrade to 1.3.2.
* Add init script. PR: 44436 Submitted by: maintainer
Diffstat (limited to 'security/openvpn20/files')
-rw-r--r--security/openvpn20/files/openvpn.sh.sample19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/openvpn20/files/openvpn.sh.sample b/security/openvpn20/files/openvpn.sh.sample
new file mode 100644
index 0000000..a906ecf
--- /dev/null
+++ b/security/openvpn20/files/openvpn.sh.sample
@@ -0,0 +1,19 @@
+#! /bin/sh
+# (C) 2002 by Matthias Andree
+
+# This file may be redistributed according to the terms of the GNU General
+# Public License, version 2 (two).
+
+# To use this script, rename it to openvpn.sh and make sure it is
+# executable for the owner.
+
+# This file rouses a security warning at port install time. However, this
+# file itself does not start network services, but it loads a kernel driver.
+# The security of this file therefore depends on the security of kldload and
+# the if_tap driver.
+
+case x$1 in
+ xstart) echo -n ' if_tap' ; exec kldload if_tap ;;
+ xstop) echo -n ' if_tap' ; exec kldunload if_tap ;;
+ *) echo >&2 "Usage: $0 {start|stop}"
+esac
OpenPOWER on IntegriCloud