init.d/vz-gentoo: simplify check for IP forwarding

Commit 2b97841cd25a8088d5b878eeb5420e5509dc142e added checking
if IP forwarding is enabled. Use sysctl options to avoid using awk
and /dev/null redirection, also explicitly check for value of 1.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed