Fix dyndns package path for 24.11

This commit is contained in:
fruchti 2025-01-25 21:41:52 +01:00
parent 9447e77b5a
commit a29e70750f

View file

@ -63,7 +63,7 @@ in
dyndns_user="${cfg.username}" dyndns_user="${cfg.username}"
dyndns_password="$(cat "${cfg.passwordFile}")" dyndns_password="$(cat "${cfg.passwordFile}")"
new_ip=$(${pkgs.iproute}/bin/ip -6 a show scope global -temporary dev "$interface" | ${pkgs.gnused}/bin/sed -n -E 's/^\ *inet6\ (2001(:[0-9a-f]+)+).*$/\1/p' | head -1) new_ip=$(${pkgs.iproute2}/bin/ip -6 a show scope global -temporary dev "$interface" | ${pkgs.gnused}/bin/sed -n -E 's/^\ *inet6\ (2001(:[0-9a-f]+)+).*$/\1/p' | head -1)
if [ -z "$new_ip" ] ; then if [ -z "$new_ip" ] ; then
echo "Could not determine IP address." echo "Could not determine IP address."