commit | c5995be1c2f01a629cc11df9513c1a59a23fc91d | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sun Feb 27 17:10:08 2011 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Sun Feb 27 17:10:08 2011 +0300 |
tree | c703a0493cc69502ba1ff8be3cbf08c6f3a55926 | |
parent | 018a584c73dfccd8dcaadb7e070aa97e4872b826 [diff] |
etc/init.d/vz-*: fix for previous kludge. Commit 39bdf8e401 added a kludge to modify default CONFIGFILE for vswap-enabled kernel (and warn a user about it). The problem is such warning is printed every time (on a vswap-enabled kernel) regardless of whether we actually modify vz.conf or not. Fix it. While at it, make the code more simple/generic. Signed-off-by: Kir Kolyshkin <kir@openvz.org>