projects
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multiple changes! (that's a useful comment)
[scripts.git]
/
dns323-op.sh
diff --git
a/dns323-op.sh
b/dns323-op.sh
index
2aa5c14
..
614eb21
100755
(executable)
--- a/
dns323-op.sh
+++ b/
dns323-op.sh
@@
-34,7
+34,8
@@
function authentify_on_dns323 () {
echo "Authentifying on ${DNS323_HOSTNAME}."
curl -s > /dev/null \
-L http://${DNS323_HOSTNAME}/goform/formLogin \
echo "Authentifying on ${DNS323_HOSTNAME}."
curl -s > /dev/null \
-L http://${DNS323_HOSTNAME}/goform/formLogin \
- -d "f_LOGIN_NAME=admin&f_LOGIN_PASSWD=${DNS323_ADMIN_PASSWORD}&f_login_type=0" || (echo "Failed." >&2 && exit 1)
+ -d "f_LOGIN_NAME=admin&f_LOGIN_PASSWD=${DNS323_ADMIN_PASSWORD}&f_login_type=0" \
+ || (echo "Failed." >&2 && exit 1)
already_authentified=1
fi
}
already_authentified=1
fi
}