As per discord going to share this here for others:
Also in the script is the fix for your sticky WAN
/cfg/post-cfg.sh
#!/bin/sh
echo "Running post-cfg.sh at $(date)" >> /tmp/debug.log
# Remove all https-dns-proxy instances
echo "Removing all https-dns-proxy instances..." >> /tmp/debug.log
while uci -q get https-dns-proxy.@https-dns-proxy[0]; do
uci delete https-dns-proxy.@https-dns-proxy[0]
done
uci commit https-dns-proxy
# Stop and disable the service
/etc/init.d/https-dns-proxy stop
/etc/init.d/https-dns-proxy disable
echo "https-dns-proxy disabled and wiped" >> /tmp/debug.log
# Set mwan3 sticky to 0
echo "Setting mwan3 sticky to 0..." >> /tmp/debug.log
uci set mwan3.default_pbr.sticky=0
uci commit
/etc/init.d/mwan3 restart
echo "post-cfg.sh finished at $(date)" >> /tmp/debug.log
also make sure the /cfg/post-cfg.sh
is executable (chmod +x /cfg/post-cfg.sh
)
Not sure if deleting the dns proxy is going to cause any issues but Alta guys can confirm