[Resolved] Is there an easy way to clear settings via terminal?

I am trying to create a setup script for configuring router + AP via CAPsMAN, but would like to ask if there is an easy way to clear my settings as I am testing and exploring the setup to clean up the various config changes I am doing to clear the state easier?

I am changing things like

/caps-man datapath
/caps-man configuration
/caps-man provisioning

And others. Is there some way I can just drop all entries from those config paths? Or something like that to tidy up config while I am editing and trying out things?

9 points · 2 comments · view on lemmy.world

2 Comments

infeeeee@lemmy.zip · 5 pts · 303d (1 reply)
/caps-man/datapath/remove [find]
/caps-man/configuration/remove [find]
/caps-man/provisioning/remove [find]

In the square brackets you can write something like [find disabled=yes] to remove all disabled entries, but if you just leave it empty it will select all.

OwlPaste@lemmy.world · 3 pts · 303d

Brilliant! That did it perfectly! Thanks!