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
commitb74d5b30c7dec27e6aad2e14476e69303b45fbc0 (patch)
tree190595481dcfc52afa1e054c23642e524d2ef06a /net-misc
parentalpha/ia64/sparc stable wrt #207634 (diff)
downloadgentoo-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')
-rw-r--r--net-misc/openvpn/ChangeLog6
-rwxr-xr-xnet-misc/openvpn/files/openvpn-2.1.init3
-rw-r--r--net-misc/openvpn/files/openvpn.init3
3 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/openvpn/ChangeLog b/net-misc/openvpn/ChangeLog
index 2fb1fd4abf85..b1932e33cdcf 100644
--- a/net-misc/openvpn/ChangeLog
+++ b/net-misc/openvpn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/openvpn
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.121 2008/01/25 23:51:45 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.122 2008/01/29 15:07:35 flameeyes Exp $
+
+ 29 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> files/openvpn-2.1.init,
+ files/openvpn.init:
+ Fix init script dependencies to work without a boot runlevel.
*openvpn-2.1_rc6-r1 (25 Jan 2008)
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() {