From 1e596bfb0196c5a87b1c76320ff471a58699e9c3 Mon Sep 17 00:00:00 2001 From: Keith Amidon Date: Wed, 29 Apr 2009 09:43:32 -0700 Subject: [PATCH] Properly refer to brcompatd pidfile in init script stop option 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vswitchd/etc/init.d/vswitch b/vswitchd/etc/init.d/vswitch index 3bf3a935..b9fd59d1 100755 --- 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 "$BRCOMPATD_PIDFILE" ]; then local pid=$(cat "$BRCOMPATD_PIDFILE") action "Killing brcompatd ($pid)" kill -TERM $pid rm -f "$BRCOMPATD_PIDFILE" -- 2.30.2