etc/init.d/vz*: only apply oom score if file exist

OOM score adjustment is only available in RHEL6-based kernel.
Check that proc file exist before trying to write to it.

http://bugzilla.openvz.org/2423

Reported-by: Tom P <tomp@tomp.co.uk>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed