From: Ben Pfaff Date: Fri, 10 Jun 2011 20:08:26 +0000 (-0700) Subject: xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e9092831d38457bb5c43a9ce176e418fab3d069;p=openvswitch xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently. This variable was used in some places but not in others. Signed-off-by: Ben Pfaff --- 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 }