blob: a906ecf44425d1c2c11eba0325362accfd25806c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|