Fix dyndns package path for 24.11
This commit is contained in:
parent
9447e77b5a
commit
a29e70750f
|
@ -63,7 +63,7 @@ in
|
|||
dyndns_user="${cfg.username}"
|
||||
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
|
||||
echo "Could not determine IP address."
|
||||
|
|
Loading…
Reference in a new issue