hwoarang    15/06/13 11:54:25

  Modified:             lxc.initd.3
  Log:
  Do not hardcode LXC_PATH. Bug #548568. Patch by Erik Mackdanz 
<[email protected]>
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
09BF4F54C2BA7F3C!)

Revision  Changes    Path
1.3                  app-emulation/lxc/files/lxc.initd.3

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd.3?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd.3?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd.3?r1=1.2&r2=1.3

Index: lxc.initd.3
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.3,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- lxc.initd.3 23 Apr 2015 16:31:44 -0000      1.2
+++ lxc.initd.3 13 Jun 2015 11:54:25 -0000      1.3
@@ -1,11 +1,11 @@
 #!/sbin/runscript
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.3,v 1.2 
2015/04/23 16:31:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.3,v 1.3 
2015/06/13 11:54:25 hwoarang Exp $
 
 CONTAINER=${SVCNAME#*.}
 
-LXC_PATH="/var/lib"
+LXC_PATH=`lxc-config lxc.lxcpath`
 
 lxc_get_configfile() {
        if [ -f "${LXC_PATH}/${CONTAINER}.conf" ]; then




Reply via email to