summaryrefslogtreecommitdiff
path: root/init.d.misc/openvpn.in
diff options
context:
space:
mode:
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 c180e24..ad9e9d8 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 :