From: Frank Brehm Date: Fri, 1 Dec 2023 08:55:51 +0000 (+0100) Subject: committing changes in /etc made by "/usr/bin/python3 /usr/bin/nala upgrade --purge" X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=3b5d7b93bbfe24c9076ffe2e9250a3eb31eca2b5;p=config%2Fbruni%2Fetc-mint-new1.git committing changes in /etc made by "/usr/bin/python3 /usr/bin/nala upgrade --purge" Packages with configuration changes: -ifupdown 0.8.36+nmu1ubuntu3 amd64 +ifupdown 0.8.36+nmu1ubuntu3.1 amd64 Package changes: -ifupdown 0.8.36+nmu1ubuntu3 amd64 +ifupdown 0.8.36+nmu1ubuntu3.1 amd64 --- diff --git a/network/if-down.d/resolved b/network/if-down.d/resolved index 71245fd..6b7b064 100755 --- a/network/if-down.d/resolved +++ b/network/if-down.d/resolved @@ -9,7 +9,6 @@ case "$ADDRFAM" in esac if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then - mystatedir statedir ifindex interface interface=$IFACE if [ ! "$interface" ]; then return diff --git a/network/if-up.d/resolved b/network/if-up.d/resolved index 13690f9..e0e7c77 100755 --- a/network/if-up.d/resolved +++ b/network/if-up.d/resolved @@ -9,8 +9,6 @@ case "$ADDRFAM" in esac if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then - mystatedir statedir ifindex interface - interface=$IFACE if [ ! "$interface" ]; then return @@ -45,11 +43,11 @@ if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then fi if [ -n "$NEW_DNS" ]; then cat <"$mystatedir/ifupdown-${ADDRFAM}-$interface" -"$DNS"="$NEW_DNS" +$DNS="$NEW_DNS" EOF if [ -n "$NEW_DOMAINS" ]; then cat <>"$mystatedir/ifupdown-${ADDRFAM}-$interface" -"$DOMAINS"="$NEW_DOMAINS" +$DOMAINS="$NEW_DOMAINS" EOF fi fi @@ -68,7 +66,7 @@ EOF # ignore errors due to nonexistent file md5sum "$mystatedir/isc-dhcp-v4-$interface" "$mystatedir/isc-dhcp-v6-$interface" "$mystatedir/ifupdown-inet-$interface" "$mystatedir/ifupdown-inet6-$interface" > "$newstate" 2> /dev/null || true if ! cmp --silent "$oldstate" "$newstate" 2>/dev/null; then - DNS DNS6 DOMAINS DOMAINS6 DEFAULT_ROUTE + unset DNS DNS6 DOMAINS DOMAINS6 DEFAULT_ROUTE # v4 first if [ -e "$mystatedir/isc-dhcp-v4-$interface" ]; then . "$mystatedir/isc-dhcp-v4-$interface"