From: Justin Pettit Date: Mon, 7 Dec 2009 23:59:20 +0000 (-0800) Subject: xenserver: Remove ip_gre kernel module when other modules are removed X-Git-Tag: v1.0.0~259^2~431 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5c8ef29c2efb73ab3bc8ac30f1499fb6499692cf;p=sliver-openvswitch.git xenserver: Remove ip_gre kernel module when other modules are removed --- diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index 1b250dd84..18dd7bc69 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -104,6 +104,9 @@ 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 reload_vswitchd {