Skip to content

Commit

Permalink
Merge pull request ydns#2 from 85pando/master
Browse files Browse the repository at this point in the history
encrypt password/api-tokens
  • Loading branch information
commx committed Apr 17, 2014
2 parents 6aa78f7 + c56e157 commit 172a1b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ if ! hash curl 2>/dev/null; then
exit 1
fi

# if this fails with error 60 your certificate store does not contain the certificate,
# either add it or use -k (disable certificate check
ret=`curl --basic \
-u "$YDNS_USER:$YDNS_PASSWD" \
--silent \
http://ydns.eu/api/v1/update/?host=$YDNS_HOST`
https://ydns.eu/api/v1/update/?host=$YDNS_HOST`

if [ "$ret" = "ok" ]; then
echo "Update: OK"
Expand Down

0 comments on commit 172a1b6

Please sign in to comment.