Changes made in cli not persistent after reboot

Does anyone know why the changes made via cli & winscp config files do not remain after a reboot?
I made a post earlier regarding wan dns & dns leaks. I figured out that the Route10 has the https-dns-proxy service installed for DoH which is overriding my dnsmasq config. I’ve disabled the https-dns-proxy service using “/etc/init.d/https-dns-proxy disable” which should disable the service from starting up at boot but none of the changes seem to be persistent. Is there any way to make the changes persistent or can an option be added into the gui to disable DoH/https-dns-proxy?

Also wondering if this is down to me not using the self-hosted local controller

I’ve had the same problem and solution is described here.

Cheers,
V.

@victor.stevanovic Can confirm creating “rc.local” file in cfg/ and adding “/etc/init.d/https-dns-proxy stop” works. Thank you very much for this :slight_smile:

How would one go about making other regular config changes persistent?

1 Like

You may create /cfg/post-cfg.sh as well to persist any changes.

So I just need to create /cfg/post-cfg.sh and any changes that are made in etc/config will persist or do I need to make the changes in /cfg/post-cfg.sh also? If so what is the format?