diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-07-03 10:32:07 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-07-03 10:32:07 +0000 |
commit | bf24559fe2a605e805e1f190c3667e77c2686e32 (patch) | |
tree | b2ea2af122e2833a69a1e2e63a339a3ea063d77f /net-misc | |
parent | old (diff) | |
download | gentoo-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-x | net-misc/openvpn/files/openvpn-2.1.init | 3 |
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 |