From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/lxc/files: lxc.initd.2 |
Date: | Sun, 29 Apr 2012 23:49:14 |
Message-Id: | 20120429234854.E7BBA2004B@flycatcher.gentoo.org |
1 | flameeyes 12/04/29 23:48:54 |
2 | |
3 | Modified: lxc.initd.2 |
4 | Log: |
5 | Make sure to need the network interface, not use it. |
6 | |
7 | (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 app-emulation/lxc/files/lxc.initd.2 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd.2?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd.2?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd.2?r1=1.1&r2=1.2 |
15 | |
16 | Index: lxc.initd.2 |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.2,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- lxc.initd.2 24 Mar 2012 00:29:00 -0000 1.1 |
23 | +++ lxc.initd.2 29 Apr 2012 23:48:54 -0000 1.2 |
24 | @@ -1,7 +1,7 @@ |
25 | #!/sbin/runscript |
26 | # Copyright 1999-2012 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.2,v 1.1 2012/03/24 00:29:00 flameeyes Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.2,v 1.2 2012/04/29 23:48:54 flameeyes Exp $ |
30 | |
31 | CONTAINER=${SVCNAME#*.} |
32 | |
33 | @@ -54,7 +54,7 @@ |
34 | # and then require that to be enabled, so that the |
35 | # dependencies are correct. |
36 | netif=$(lxc_get_var lxc.network.link) |
37 | - [ -n "${netif}" ] && use net.${netif} |
38 | + [ -n "${netif}" ] && need net.${netif} |
39 | } |
40 | |
41 | start() { |