summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-01-29 15:07:36 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-01-29 15:07:36 +0000
commit4c29af2599f4af168b64f1fc6bd25905ad219ca3 (patch)
tree2d225d7769e42eca116882e52213293573bbb81e /net-misc/openvpn/files
parentFix init script dependencies to work without a boot runlevel. (diff)
downloadhistorical-4c29af2599f4af168b64f1fc6bd25905ad219ca3.tar.gz
historical-4c29af2599f4af168b64f1fc6bd25905ad219ca3.tar.bz2
historical-4c29af2599f4af168b64f1fc6bd25905ad219ca3.zip
Fix init script dependencies to work without a boot runlevel.
Package-Manager: portage-2.1.4
Diffstat (limited to 'net-misc/openvpn/files')
-rwxr-xr-xnet-misc/openvpn/files/openvpn-2.1.init3
-rw-r--r--net-misc/openvpn/files/openvpn.init3
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() {