From d4d558c5a07f15333aac637cac614c084727f736 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 23 Jan 2018 13:19:23 +0530 Subject: [PATCH] Futher ehnancements for https://github.com/wso2/product-iots/issues/1368 --- modules/scripts/change-superadmin-credentials.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) mode change 100644 => 100755 modules/scripts/change-superadmin-credentials.sh diff --git a/modules/scripts/change-superadmin-credentials.sh b/modules/scripts/change-superadmin-credentials.sh old mode 100644 new mode 100755 index fc0d2aa5..2f9f0494 --- a/modules/scripts/change-superadmin-credentials.sh +++ b/modules/scripts/change-superadmin-credentials.sh @@ -84,6 +84,11 @@ sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/analytics/conf/input-event-adapters.xml echo "Completed!!" +echo "Changing /wso2/analytics/conf/output-event-adapters.xml" +sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../wso2/analytics/conf/input-event-adapters.xml +sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/analytics/conf/input-event-adapters.xml +echo "Completed!!" + echo "Changing /conf/user-mgt.xml" sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../conf/user-mgt.xml sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../conf/user-mgt.xml @@ -115,8 +120,8 @@ sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/broker/ echo "Completed!!" echo "Changing /wso2/broker/conf/broker.xml" -sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../wso2/broker/conf/broker.xml -sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/broker/conf/broker.xml +sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../wso2/broker/conf/broker.xml +sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/broker/conf/broker.xml echo "Completed!!" echo ""