projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644a279
)
Properly refer to brcompatd pidfile in init script stop option
author
Keith Amidon
<keith@nicira.com>
Wed, 29 Apr 2009 16:43:32 +0000
(09:43 -0700)
committer
Keith Amidon
<keith@nicira.com>
Wed, 29 Apr 2009 19:07:32 +0000
(12:07 -0700)
When the init script attempted to stop brcompatd it was using the
wrong variable name to find the PID file and thus not obtaining a PID
and not stopping brcompatd.
vswitchd/etc/init.d/vswitch
patch
|
blob
|
history
diff --git
a/vswitchd/etc/init.d/vswitch
b/vswitchd/etc/init.d/vswitch
index 3bf3a935f42cd2df57ee295c8fa501bbc9154f0f..b9fd59d173388ff436beb9f3111884cf3040b50e 100755
(executable)
--- a/
vswitchd/etc/init.d/vswitch
+++ b/
vswitchd/etc/init.d/vswitch
@@
-239,7
+239,7
@@
function stop_vswitchd {
}
function stop_brcompatd {
- if [ -f "$BRCOMPAT_PIDFILE" ]; then
+ if [ -f "$BRCOMPAT
D
_PIDFILE" ]; then
local pid=$(cat "$BRCOMPATD_PIDFILE")
action "Killing brcompatd ($pid)" kill -TERM $pid
rm -f "$BRCOMPATD_PIDFILE"