xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently.
authorBen Pfaff <blp@nicira.com>
Fri, 10 Jun 2011 20:08:26 +0000 (13:08 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Jun 2011 19:28:06 +0000 (12:28 -0700)
This variable was used in some places but not in others.

Signed-off-by: Ben Pfaff <blp@nicira.com>
xenserver/etc_init.d_openvswitch

index dfd8c39a62eda8722fca976a3d27d7f9e2fea214..bd64cc701a47e840230cdab8046d7b17fb6711d2 100755 (executable)
@@ -127,8 +127,8 @@ else
 fi
 
 function hup_monitor_external_ids {
-    if [ -e /var/run/openvswitch/ovs-xapi-sync.pid ]; then
-        action "Configuring Open vSwitch external IDs" kill -HUP `cat /var/run/openvswitch/ovs-xapi-sync.pid`
+    if [ -e "$OVS_XAPI_SYNC_PIDFILE" ]; then
+        action "Configuring Open vSwitch external IDs" kill -HUP `cat "$OVS_XAPI_SYNC_PIDFILE"`
     fi
 }