diff options
author | Ben Pfaff <blp@nicira.com> | 2011-06-10 13:08:26 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-06-16 12:28:06 -0700 |
commit | 1e9092831d38457bb5c43a9ce176e418fab3d069 (patch) | |
tree | 41217a76b9165b1572d3c96e40fd9dd74b1ac1d4 /xenserver | |
parent | d3824212ada08ae285ac2e4f05dc30d97a7c25ad (diff) |
xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently.
This variable was used in some places but not in others.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'xenserver')
-rwxr-xr-x | xenserver/etc_init.d_openvswitch | 4 |
1 files 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 } |