Skip to content

Commit

Permalink
v9.9 (#7262)
Browse files Browse the repository at this point in the history
- DietPi-DDNS | Resolved an issue where the YDNS update test failed due to a changed response from the server API. Many thanks to @NatureHog for reporting and solving the issue: #7262
  • Loading branch information
NatureHog authored Oct 31, 2024
1 parent 8474032 commit 418004d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Enhancements:

Bug fixes:
- NanoPi M1 Plus | Resolved an issue where Ethernet did not work because of a faulty kernel patch. Many thanks to @InnovoMagicCube and @InnovoDeveloper for reporting this issue: https://github.com/MichaIng/DietPi/issues/6974
- DietPi-DDNS | Resolved an issue where the YDNS update test failed due to a changed response from the server API. Many thanks to @NatureHog for reporting and solving the issue: https://github.com/MichaIng/DietPi/pull/7262

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: https://github.com/MichaIng/DietPi/pull/ADDME

Expand Down
6 changes: 3 additions & 3 deletions dietpi/dietpi-ddns
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,15 @@ Apply()
# shellcheck disable=SC2086
if ! result=$(curl $ipfamily -sSfL ${http_auth:+ -u "$USERNAME:$PASSWORD"} "$url" 2>&1) ||
[[ $PROVIDER == 'DuckDNS' && $result == 'KO' ]] ||
[[ $PROVIDER == 'YDNS' && $result != 'ok' ]] ||
[[ $PROVIDER == 'YDNS' && $result != 'good'* && $result != 'nochg'* ]] ||
[[ $PROVIDER == 'Dynu' && $result != 'good'* && $result != 'nochg'* ]]
then
G_DIETPI-NOTIFY 1 "DDNS update test failed, please check your input${result:+:\n$result}"
STATUS="DDNS update test failed, please check your input${result:+:\n$result}"
G_DIETPI-NOTIFY 1 "$STATUS"
return 1
else
G_DIETPI-NOTIFY 2 "DDNS update test succeeded${result:+:\n$result}"
STATUS="DDNS update test succeeded${result:+:\n$result}"
G_DIETPI-NOTIFY 2 "$STATUS"
fi

# Check and in case remove obsolete No-IP client
Expand Down

0 comments on commit 418004d

Please sign in to comment.