commit | 5e91165bfda793d9e37d229e15d6647c8e2350bd | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Sep 24 15:42:46 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Sep 24 15:42:46 2012 +0400 |
tree | 41035f7c9f53deb425653ddec9c961e97994e08d | |
parent | 36f182fccf0e6070752d83f752d5cda40ccb5ac2 [diff] |
init.d/vz: deduce /vz from VE_ROOT/VE_PRIVATE This is an improvement to commit 4733497. Instead of assuming that VE_ROOT and VE_PRIVATE is under /vz, find out their common prefix and use it. In case there's no common prefix (i.e. it is /) we do nothing. http://bugzilla.openvz.org/2361 Reported-by: Paparaciz <helpaz@gmail.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>