1
0
mirror of https://github.com/namibia/demo-sync.git synced 2024-11-21 19:15:10 +00:00

trying to fix the pause

This commit is contained in:
Llewellyn van der Merwe 2017-07-05 02:06:52 +01:00
parent 5d35a19bf2
commit 5a7817e66d
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5

View File

@ -69,7 +69,7 @@ serverKey=$(<"$VDMHOME/ip.key")
accessToke=$(curl -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" --silent --data-urlencode "key=$serverKey" $VDMIPSERVER)
if [[ "$accessToke" != "$TRUE" ]]; then
read -n 1 -s -p "Please enter your VDM access key: " vdmAccessKey
read -s -p "Please enter your VDM access key: " vdmAccessKey continue
echo
echo -n "One moment while we set your access to the VDM system..."
resultAccess=$(curl -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" --silent --data-urlencode "trust=$vdmAccessKey" --data-urlencode "key=$serverKey" $VDMIPSERVER)