diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-29 15:07:36 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-29 15:07:36 +0000 |
commit | b74d5b30c7dec27e6aad2e14476e69303b45fbc0 (patch) | |
tree | 190595481dcfc52afa1e054c23642e524d2ef06a /net-misc/openvpn/files | |
parent | alpha/ia64/sparc stable wrt #207634 (diff) | |
download | gentoo-2-b74d5b30c7dec27e6aad2e14476e69303b45fbc0.tar.gz gentoo-2-b74d5b30c7dec27e6aad2e14476e69303b45fbc0.tar.bz2 gentoo-2-b74d5b30c7dec27e6aad2e14476e69303b45fbc0.zip |
Fix init script dependencies to work without a boot runlevel.
(Portage version: 2.1.4)
Diffstat (limited to 'net-misc/openvpn/files')
-rwxr-xr-x | net-misc/openvpn/files/openvpn-2.1.init | 3 | ||||
-rw-r--r-- | net-misc/openvpn/files/openvpn.init | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/openvpn/files/openvpn-2.1.init b/net-misc/openvpn/files/openvpn-2.1.init index b976cccf5211..633cae000a5f 100755 --- a/net-misc/openvpn/files/openvpn-2.1.init +++ b/net-misc/openvpn/files/openvpn-2.1.init @@ -12,8 +12,9 @@ fi VPNCONF="${VPNDIR}/${VPN}.conf" depend() { - need net + need localmount net use dns + after bootmisc } checkconfig() { diff --git a/net-misc/openvpn/files/openvpn.init b/net-misc/openvpn/files/openvpn.init index 64c1bdd1bfae..a6e4529e1c8b 100644 --- a/net-misc/openvpn/files/openvpn.init +++ b/net-misc/openvpn/files/openvpn.init @@ -12,8 +12,9 @@ fi VPNCONF="${VPNDIR}/${VPN}.conf" depend() { - need net + need localmount net before netmount + after bootmisc } checktundevice() { |