diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2002-10-25 20:55:29 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2002-10-25 20:55:29 +0000 |
commit | 2e59d374e602bb02b4fcad40baf9fb4e678f7ff3 (patch) | |
tree | f29531a0b2821a79a2b0f46b49b075725ba46aff /security/openvpn-devel/files/openvpn.sh.sample | |
parent | 132c61bea0d0731a52a17827c97829cf720cba49 (diff) |
Notes
Diffstat (limited to 'security/openvpn-devel/files/openvpn.sh.sample')
-rw-r--r-- | security/openvpn-devel/files/openvpn.sh.sample | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/openvpn-devel/files/openvpn.sh.sample b/security/openvpn-devel/files/openvpn.sh.sample new file mode 100644 index 000000000000..a906ecf44425 --- /dev/null +++ b/security/openvpn-devel/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 |