vswitchd: Enable in-band control to managers.
[openvswitch] / xenserver / etc_init.d_openvswitch
index 6adf654b602f464c762f4dc1e65ee09c0fb55811..926ce5236204349fd2e7596f22723fb3973e5497 100755 (executable)
@@ -127,10 +127,7 @@ function insert_modules_if_required {
         action "Inserting brcompat module" modprobe brcompat_mod
     fi
     if [ -f "/lib/modules/`uname -r`/kernel/extra/openvswitch/veth_mod.ko" ] && ! lsmod | grep -q "veth_mod"; then
-        action "Inserting veth module" modprobe veth
-    fi
-    if [ -f "/lib/modules/`uname -r`/kernel/extra/openvswitch/ip_gre_mod.ko" ] && ! lsmod | grep -q "ip_gre_mod"; then
-        action "Inserting ip_gre module" modprobe ip_gre_mod
+        action "Inserting veth module" modprobe veth_mod
     fi
 }
 
@@ -141,9 +138,6 @@ function remove_modules {
     if lsmod | grep -q "openvswitch_mod"; then
         action "Removing openvswitch module" rmmod openvswitch_mod.ko
     fi
-    if lsmod | grep -q "ip_gre_mod"; then
-        action "Removing ip_gre module" rmmod ip_gre_mod.ko
-    fi
 }
 
 function start_ovsdb_server {