Viitor_openvpn/usr/share/doc/openvpn/Viitor/init/openvpn-client-..servername...conf
kueller 5c5482301c Merge mit V962 Tree
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_openvpn@5984 504e572c-2e33-0410-9681-be2bf7408885
2011-02-18 10:37:51 +00:00

21 lines
543 B
Plaintext

description "openvpn daemons startup"
author "Michael Freitag <Michael.Freitag@freitag-it.de>"
version 1.1
emits none special
start on (runlevel [2345] and (started rpc))
stop on runlevel [016]
console none
chdir /etc/sysconfig/net/openvpn/
pre-start script
modprobe tun
if [ ! -d /dev/net ]; then
mkdir /dev/net
fi
rm -f /dev/net/tun && mknod /dev/net/tun c 10 200
end script
exec /usr/sbin/openvpn --config client-<SERVERNAME>.conf