projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Avoid "rpm -i" warnings on XenServer 5.5.900.
[openvswitch]
/
xenserver
/
etc_init.d_vswitch
diff --git
a/xenserver/etc_init.d_vswitch
b/xenserver/etc_init.d_vswitch
index abd594ecae08605f1c5f177ae35cf2f6d206752f..ee858fda36edbc126bebb28a62f218635b187793 100755
(executable)
--- a/
xenserver/etc_init.d_vswitch
+++ b/
xenserver/etc_init.d_vswitch
@@
-286,6
+286,11
@@
function start {
# ovs-vswitchd needs a few per bridge
ulimit -n 4096
# ovs-vswitchd needs a few per bridge
ulimit -n 4096
+ if [ ! -e "$VSWITCHD_CONF" ]; then
+ warning "$VSWITCHD_CONF does not exist"
+ action "Creating empty $VSWITCHD_CONF" touch "$VSWITCHD_CONF"
+ fi
+
start_vswitchd
start_brcompatd
reload_vswitchd # ensures ovs-vswitchd has fully read config file.
start_vswitchd
start_brcompatd
reload_vswitchd # ensures ovs-vswitchd has fully read config file.