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:32:17 +0000 (12:32 -0700)
commitcfa9bf12e1fda7733e83dffbe14b2eecbf9a9813
tree1e2155f26959c8ca3c5bfdf220035c6b0124a8d3
parenta6a60925d7425685dd7876ec7da162fa5d73a3b8
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