aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/openvpn.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 12:18:05 +0000
committerRoy Marples <roy@marples.name>2008-01-11 12:18:05 +0000
commit6b41b6500842b2b6bd7f78b4f2ccda579ee1a108 (patch)
treea57599974eb573de7b12ec118e1c658a527ad3ec /init.d.misc/openvpn.in
parent3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287 (diff)
Remove vim settings.
Diffstat (limited to 'init.d.misc/openvpn.in')
-rw-r--r--init.d.misc/openvpn.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d.misc/openvpn.in b/init.d.misc/openvpn.in
index c180e24f..ad9e9d83 100644
--- a/init.d.misc/openvpn.in
+++ b/init.d.misc/openvpn.in
@@ -28,12 +28,14 @@ if yesno "${openvpn_client}"; then
start_inactive="YES"
fi
-depend() {
+depend()
+{
need net
use dns
}
-start_pre() {
+start_pre()
+{
# Linux has good dynamic tun/tap creation
if [ "${RC_UNAME}" = "Linux" ]; then
if [ ! -e /dev/net/tun ]; then
@@ -62,5 +64,3 @@ start_pre() {
command_args="${command_args} --cd ${openvpn_dir}"
fi
}
-
-# vim: set ts=4 :