summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-04-29 23:48:54 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-04-29 23:48:54 +0000
commit3d435d13342e4f6fb22aa2f142540f8ff99aa177 (patch)
tree260b2fee542f79cf3e755bc07fcfbc5b83463833 /app-emulation
parentAdd m68k/s390 keywords #397769. (diff)
downloadgentoo-2-3d435d13342e4f6fb22aa2f142540f8ff99aa177.tar.gz
gentoo-2-3d435d13342e4f6fb22aa2f142540f8ff99aa177.tar.bz2
gentoo-2-3d435d13342e4f6fb22aa2f142540f8ff99aa177.zip
Make sure to need the network interface, not use it.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/lxc/ChangeLog5
-rw-r--r--app-emulation/lxc/files/lxc.initd.24
2 files changed, 6 insertions, 3 deletions
diff --git a/app-emulation/lxc/ChangeLog b/app-emulation/lxc/ChangeLog
index 5966e9f2c258..1df429cc01e7 100644
--- a/app-emulation/lxc/ChangeLog
+++ b/app-emulation/lxc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/lxc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.34 2012/04/29 23:32:31 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.35 2012/04/29 23:48:54 flameeyes Exp $
+
+ 29 Apr 2012; Diego E. Pettenò <flameeyes@gentoo.org> files/lxc.initd.2:
+ Make sure to need the network interface, not use it.
*lxc-0.8.0_rc1-r3 (29 Apr 2012)
diff --git a/app-emulation/lxc/files/lxc.initd.2 b/app-emulation/lxc/files/lxc.initd.2
index fb4edc62c340..ed0cd5c3a868 100644
--- a/app-emulation/lxc/files/lxc.initd.2
+++ b/app-emulation/lxc/files/lxc.initd.2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.2,v 1.1 2012/03/24 00:29:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.2,v 1.2 2012/04/29 23:48:54 flameeyes Exp $
CONTAINER=${SVCNAME#*.}
@@ -54,7 +54,7 @@ depend() {
# and then require that to be enabled, so that the
# dependencies are correct.
netif=$(lxc_get_var lxc.network.link)
- [ -n "${netif}" ] && use net.${netif}
+ [ -n "${netif}" ] && need net.${netif}
}
start() {