/etc/network/if-up.d/resolved and if-down.d/resolved (Debian 12 and 13)
use 'return' outside of a function. With /bin/sh -> bash (basic.yml,
tag symlink-sh) 'ifup lo' fails and networking.service ends up as
'failed'.
Same task file as in ansible/oopen-server: divert both hooks and turn
every top-level 'return' into 'exit 0'. Tag: fix-ifupdown-resolved-hook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>