projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d3f61
)
Unload kernel module when stopping switch, in Debian init scripts.
author
Ben Pfaff
<blp@nicira.com>
Wed, 5 Nov 2008 18:20:04 +0000
(10:20 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 5 Nov 2008 18:20:04 +0000
(10:20 -0800)
This way, we have a better chance at ensuring that the secchan and the
kernel module are exactly the same version.
debian/openflow-switch.init
patch
|
blob
|
history
diff --git
a/debian/openflow-switch.init
b/debian/openflow-switch.init
index 323c7f81ac66fdc29be4549e816bebb758c02208..79dad496fe7a11bb967548fdadd03d2bca819886 100755
(executable)
--- a/
debian/openflow-switch.init
+++ b/
debian/openflow-switch.init
@@
-294,6
+294,7
@@
case "$1" in
check_op "Removing $netdev from datapath" dpctl delif nl:0 $netdev
done
check_op "Deleting datapath" dpctl deldp nl:0
+ check_op "Unloading kernel module" modprobe -r openflow_mod
;;
force-stop)
echo -n "Forcefully stopping $DESC: "