summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-07-03 10:32:07 +0000
committerRoy Marples <uberlord@gentoo.org>2006-07-03 10:32:07 +0000
commitbf24559fe2a605e805e1f190c3667e77c2686e32 (patch)
treeb2ea2af122e2833a69a1e2e63a339a3ea063d77f /net-misc
parentold (diff)
downloadgentoo-2-bf24559fe2a605e805e1f190c3667e77c2686e32.tar.gz
gentoo-2-bf24559fe2a605e805e1f190c3667e77c2686e32.tar.bz2
gentoo-2-bf24559fe2a605e805e1f190c3667e77c2686e32.zip
Tweak init script a little
(Portage version: 2.1.1_pre2-r2)
Diffstat (limited to 'net-misc')
-rwxr-xr-xnet-misc/openvpn/files/openvpn-2.1.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/openvpn/files/openvpn-2.1.init b/net-misc/openvpn/files/openvpn-2.1.init
index 1fafe24e698c..b0bc7ad76349 100755
--- a/net-misc/openvpn/files/openvpn-2.1.init
+++ b/net-misc/openvpn/files/openvpn-2.1.init
@@ -13,6 +13,7 @@ VPNCONF="${VPNDIR}/${VPN}.conf"
depend() {
need net
+ use dns
}
checkconfig() {
@@ -52,7 +53,7 @@ start() {
client=true
args="${args} --nobind --up-delay --up-restart"
args="${args} --up /etc/openvpn/up.sh"
- args="${args} --down /etc/openvpn/down.sh"
+ args="${args} --down-pre --down /etc/openvpn/down.sh"
# Warn about setting scripts as we override them
if grep -Eq "^[ \t]*(up|down)[ \t].*" "${VPNCONF}" ; then