added support for multiple profile

This commit is contained in:
Shihaam Abdul Rahman
2021-05-12 06:35:36 +05:00
parent 0c4cb4cb07
commit 03a17feb6e
6 changed files with 18 additions and 114 deletions

View File

@@ -31,7 +31,7 @@ else
fi
#Set DHIRAAGU_IP, login with generated cookie and some regex to extract Dhiraagu IP address
DHRAAGU_IP=$(curl -s -b /tmp/dcookies \
DIHRAAGU_IP=$(curl -s -b /tmp/dcookies \
$DHIRAAGU_HOME_URL \
| grep 'IP Address' -A1 \
| tail -n1 \