The workaround only replaced two of the three top-level 'return' in /etc/network/if-up.d/resolved (the 'ifindex' case was missing) and did not touch /etc/network/if-down.d/resolved at all. Now both hooks are diverted and every line consisting only of 'return' becomes 'exit 0' (same behaviour as under dash); the result is checked with 'bash -n'. The block only runs on Debian based systems. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>