commit | 3b557339dc5989e7732a316809c4b19ca453e8a0 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu May 13 13:52:43 2010 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu May 13 13:55:00 2010 +0400 |
tree | 9ba542332a6a1a1a0457dee5db95bd354f96fbf9 | |
parent | 6a6d85c0619f05efa23ea5c7018c82446d5a964e [diff] |
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>