Blame SOURCES/aliyun-vpc-move-ip-4-bundled.patch

5371d1
--- a/heartbeat/aliyun-vpc-move-ip	2020-06-09 13:45:38.432860930 +0200
5371d1
+++ b/heartbeat/aliyun-vpc-move-ip	2020-06-09 13:51:06.341211557 +0200
5371d1
@@ -35,10 +35,10 @@
5371d1
 USAGE="usage: $0 {start|stop|status|meta-data}";
5371d1
 
5371d1
 if [ "${OCF_RESKEY_aliyuncli}" = "detect" ]; then
5371d1
-	OCF_RESKEY_aliyuncli="$(which aliyuncli 2> /dev/null || which aliyun 2> /dev/null)"
5371d1
+	OCF_RESKEY_aliyuncli="$(which aliyuncli-ra 2> /dev/null || which aliyuncli 2> /dev/null || which aliyun 2> /dev/null)"
5371d1
 fi
5371d1
 
a142ce
-if [ "${OCF_RESKEY_aliyuncli##*/}" = 'aliyuncli' ]; then
a142ce
+if [ "${OCF_RESKEY_aliyuncli##*/}" = 'aliyuncli-ra' ] || [ "${OCF_RESKEY_aliyuncli##*/}" = 'aliyuncli' ]; then
5371d1
 	OUTPUT="text"
5371d1
 	EXECUTING='{ print $3 }'
5371d1
 	IFS_=" "