X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=xenserver%2Fetc_init.d_vswitch;h=e63a001aba62c55fa2737fa9d6c2ab3f4aeaae1e;hb=5990cd46192920da5faedde84b6123b854ec0555;hp=8f0adf79797bdd783764ef35be846ad8ade1ad8b;hpb=39fb08818bbd9c438dbf23caa89937c663451b5a;p=openvswitch diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index 8f0adf79..e63a001a 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -269,11 +269,13 @@ function start { start_vswitchd start_brcompatd reload_vswitchd # ensures ovs-vswitchd has fully read config file. + touch /var/lock/subsys/vswitch } function stop { stop_brcompatd stop_vswitchd + rm -f /var/lock/subsys/vswitch } function restart {