From 1e9092831d38457bb5c43a9ce176e418fab3d069 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 10 Jun 2011 13:08:26 -0700 Subject: [PATCH] xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently. This variable was used in some places but not in others. Signed-off-by: Ben Pfaff --- xenserver/etc_init.d_openvswitch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index dfd8c39a..bd64cc70 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -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 } -- 2.30.2