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:27 +0000 (12:34 -0700)
commit683a1a13c384c738d2b0f8cd721a657242542d55
tree3c2fd047fd4f58d1db4046ebf8dd10cd52871aa4
parent98a3773763ab556c3eac9bc50d4d88c0633d7b5b
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