projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
457e1eb
)
xenserver: Remove ip_gre kernel module when other modules are removed
author
Justin Pettit
<jpettit@nicira.com>
Mon, 7 Dec 2009 23:59:20 +0000
(15:59 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Thu, 10 Dec 2009 08:14:10 +0000
(
00:14
-0800)
xenserver/etc_init.d_vswitch
patch
|
blob
|
history
diff --git
a/xenserver/etc_init.d_vswitch
b/xenserver/etc_init.d_vswitch
index 1b250dd84ef8cbba6f3ec75a711410d415c95539..18dd7bc69663f3fae3a14e0369a7e1b55237878e 100755
(executable)
--- 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 {