commit | 354814281fa44e9ea28027f0638893767b8ea2ea | [log] [download] |
---|---|---|
author | Egor Vyscrebentsov <evyscr@gmail.com> | Wed Sep 05 14:34:38 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Sep 05 14:34:38 2012 +0400 |
tree | fc89d8e1ef418498af89fd46aec793f86b9cb84c | |
parent | d7fae29ade58dfb8150b3de923d18d1d64183f95 [diff] |
suse-add_ip.sh: do not set default route on venet0 when no IPs suse-add_ip.sh always set default route on venet0 even if no IP address specified. This commit fixes it. Unfortunately, it does not take $IPV6 into account but still improves current behavior. [kir@openvz.org: use 'elif' and '[ ]' to be in-line with script style]