Updated godaddy.sh for keyfile

This commit is contained in:
Matthew McKinnon 2018-05-04 15:40:28 +10:00
parent 8507731caf
commit cd551d04d8

View File

@ -26,8 +26,8 @@ SMTP="mail.comprofix.com"
domain="comprofix.com" # your domain
name="home" # name of A record to update
key=$(cat godaddy_keys | grep KEY | awk '{ print $2 }') # key for godaddy developer API
secret=$(cat godaddy_keys | grep SECRET | awk '{ print $2 }') # secret for godaddy developer API
key=$(cat /opt/scripts/godaddy_keys | grep KEY | awk '{ print $2 }') # key for godaddy developer API
secret=$(cat /opt/scripts//godaddy_keys | grep SECRET | awk '{ print $2 }') # secret for godaddy developer API
headers="Authorization: sso-key $key:$secret"