function authentify_on_dns323 () {
if [[ ! ${already_authentified} ]]; then
echo "Authentifying on ${DNS323_HOSTNAME}."
- curl -s > /dev/null \
+ curl > /dev/null \
+ -s \
-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)
trap rm_temp SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM ERR
if [[ ${DNS323_HOSTNAME} ]] && \
- [[ ${DNS323_ADMIN_PASSWORD} ]]; then
+ [[ ${DNS323_ADMIN_PASSWORD} ]]; then
while [[ $1 ]]; do
check_unmounted
- curl -s > /dev/null \
+ curl > /dev/null \
+ -s \
-L http://${DNS323_HOSTNAME}/goform/System_restart \
-d ""