X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=xenserver%2Fetc_init.d_openvswitch;h=926ce5236204349fd2e7596f22723fb3973e5497;hb=cd11000ba2ce68a6eaeabed7efcb061b39ceaa44;hp=6adf654b602f464c762f4dc1e65ee09c0fb55811;hpb=4dcf0d73c247c538807dbb642437aaf33589822b;p=openvswitch diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index 6adf654b..926ce523 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -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 {