X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fetc_init.d_vswitch;h=ee858fda36edbc126bebb28a62f218635b187793;hb=a320b3413d239aaf8cad506ffc6d72c93b6591b2;hp=abd594ecae08605f1c5f177ae35cf2f6d206752f;hpb=1d87357a1322c2faa290452c08c7f794c0be848b;p=openvswitch diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index abd594ec..ee858fda 100755 --- 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 + 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.