- Add NetworkManager rc-manager=file with dnsmasq caching and baseline /etc/resolv.conf, isolate usb0 routes/DNS in USB_Networking.nmconnection, enable loopback in boot runlevel, and guard 90-nm-cloud-setup.sh for OpenRC. - Rewrite 50-dns-filter.sh to handle dhcp4/dhcp6/dns events, drop BusyBox-invalid logger -i and blocking gateway sleeps, gate IPv6 AAAA filtering on global unicast addresses and accept_ra, and fall back to 1.1.1.1/9.9.9.9 when no upstream DNS is advertised. - Fix bananarchy-privacy-ctl musl parallel-query leaks (omit 127.0.0.1 in VPN mode, add sync-dns recovery, replace pkill/pgrep), add usb-tether DNS DNAT, rebuild and verify all four a1120 target images and release zips, and add scripts/test-dns-resolution.py.
20 lines
296 B
Bash
Executable File
20 lines
296 B
Bash
Executable File
#!/bin/sh
|
|
|
|
command -v systemctl >/dev/null 2>&1 || exit 0
|
|
|
|
case "$2" in
|
|
pre-up)
|
|
NO_BLOCK=
|
|
;;
|
|
dhcp4-change)
|
|
NO_BLOCK=--no-block
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
if systemctl -q is-enabled nm-cloud-setup.service; then
|
|
exec systemctl $NO_BLOCK restart nm-cloud-setup.service
|
|
fi
|