# Changes made in cli not persistent after reboot

**URL:** <https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293>\
**Category:** Routers\
**Created:** [May 21, 2025, 10:59am UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293 "2025-05-21T10:59:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RogueKnight](https://forum.alta.inc/user_avatar/forum.alta.inc/rogueknight/32/4032_2.png) [@RogueKnight](https://forum.alta.inc/u/RogueKnight)\
**Post date:** [May 21, 2025, 10:59am UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293/1 "2025-05-21T10:59:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![victor.stevanovic](https://forum.alta.inc/user_avatar/forum.alta.inc/victor.stevanovic/32/2533_2.png) [@victor.stevanovic](https://forum.alta.inc/u/victor.stevanovic)\
**Post date:** [May 21, 2025, 12:37pm UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293/2 "2025-05-21T12:37:03Z")

</div>

I’ve had the same problem and solution is described [here](https://forum.alta.inc/t/excessive-dns-queries-from-aps/1887/14).

Cheers,  
V.

---

<div class="post-metadata">

**Author:** ![RogueKnight](https://forum.alta.inc/user_avatar/forum.alta.inc/rogueknight/32/4032_2.png) [@RogueKnight](https://forum.alta.inc/u/RogueKnight)\
**Post date:** [May 21, 2025, 1:13pm UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293/3 "2025-05-21T13:13:45Z")

</div>

@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 🙂

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

---

<div class="post-metadata">

**Author:** ![Alta-Josh](https://forum.alta.inc/user_avatar/forum.alta.inc/alta-josh/32/2466_2.png) [@Alta-Josh](https://forum.alta.inc/u/Alta-Josh)\
**Post date:** [May 21, 2025, 4:18pm UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293/4 "2025-05-21T16:18:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RogueKnight](https://forum.alta.inc/user_avatar/forum.alta.inc/rogueknight/32/4032_2.png) [@RogueKnight](https://forum.alta.inc/u/RogueKnight)\
**Post date:** [May 24, 2025, 9:41am UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293/5 "2025-05-24T09:41:03Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://forum.alta.inc/uploads/default/original/1X/087669c3d7c0a6495087b41d6f385a6771f2231c.png) [@system](https://forum.alta.inc/u/system)\
**Post date:** [January 12, 2026, 4:21pm UTC](https://forum.alta.inc/t/changes-made-in-cli-not-persistent-after-reboot/5293/6 "2026-01-12T16:21:25Z")

</div>

Closed on January 12, 2026, 4:21pm UTC

This thread has been automatically closed due to inactivity. If you believe you have the same issue, please create a new post describing your issue. Feel free to link to this post for context if desired.
