rhel: Add timeouts to network scripts.
authorBrian Kruger <bkruger+ovsdev@gmail.com>
Wed, 9 May 2012 16:13:42 +0000 (09:13 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 9 May 2012 19:34:42 +0000 (12:34 -0700)
commit61011a77ad1152b6da1e0b557574c654a0641b2e
tree1327a4a4b21b62e15f4519e707ecf29466de1c52
parent1b074608d67b94caaa13c6fdc7bb7cc474b347e2
rhel: Add timeouts to network scripts.

If the daemon(s) aren't running for whatever reason, the RHEL ovs
ifup/ifdown scripts don't take that into account and an attempt to reboot a
system could take forever. (literally. endless loop!)  Here are a couple of
patches (one of ifup, one for ifdown) to add timeouts (10 seconds), because
it runs per interface you have configured and that could take awhile to
reboot a system if needed.

Signed-off-by: Brian Kruger <bkruger+ovsdev@gmail.com>
[blp@nicira.com fixed up a conflict against master]
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
rhel/etc_sysconfig_network-scripts_ifdown-ovs
rhel/etc_sysconfig_network-scripts_ifup-ovs