UCI delete weird section

I've managed to add a weird section using the UCI tool

the command I ran is uci add https-dns-proxy @https-dns-proxy[0] but now I have an entry like:

root@OpenWrt:/etc/config# uci show https-dns-proxy
...
https-dns-proxy.@@https-dns-proxy[0][0]=@https-dns-proxy[0]

Delete doesn't work

root@OpenWrt:/etc/config# uci delete https-dns-proxy.@@https-dns-proxy[0][0]
uci: Invalid argument

Is there a way to delete this entry?

I'm an idiot, sorry for wasting your time.

You just need to go to /etc/config/https-dns-proxy and remove the line and the config. I even installed libuci_lua to remove it with that, and it worked but I still had it when I was executing the show

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.