[jira-272] This script is to check whether the ports required to run SEBA services are already being used by other application before installation of SEBA. If no ports that we require are already used then this script will reserve all the required ports on the OS, so that these ports will not be assigned by the OS to any other services later. If ports we need are already used, then execution of make will be terminated with error code 255.

Change-Id: I2928d2e6dc6611603669c695d6846f509bcf2600

Included the license on header of the script

Change-Id: I2928d2e6dc6611603669c695d6846f509bcf2600
diff --git a/seba-in-a-box/Makefile b/seba-in-a-box/Makefile
index 85a2555..5395edb 100644
--- a/seba-in-a-box/Makefile
+++ b/seba-in-a-box/Makefile
@@ -51,6 +51,7 @@
 siab-1.0: $(M)/seba-1.0.0 $(M)/siab
 
 $(M)/setup:
+	sudo $(WORKSPACE)/cord/automation-tools/scripts/portcheck.sh
 	mkdir -p $(M)
 	sudo apt update
 	sudo apt install -y httpie jq software-properties-common