Settings clean up ?
-
Hello
I was trying to set up and WG and added a new interface called "WireGuard" and got an error that that name was already used.
I suspect that it was the name I used before WG was removed from 2.5.1. and also suspect that removal of WG settings was incomplete.
That prompted my question - is there a way to clean up XML settings from dead entries ?
Thx
-
Not automatically. You can just search the config.xml file though.
-
@stephenw10 said in Settings clean up ?:
Not automatically. You can just search the config.xml file though.
Thanks
This is tricky - how find out what is dead lines in config.xml file ?
This is rhetorical, mumbling aloud ;)
-
@chudak Download notepad++ and switch the language to xml.
Youโll see the headers for stuff you can remove.
-
Yes, always try to use an editor that understands xml if you're modifying the config directly.
Avoids obvious typos which are all too easy. Ask me how I know!Steve
-
@stephenw10 said in Settings clean up ?:
Yes, always try to use an editor that understands xml if you're modifying the config directly.
Avoids obvious typos which are all too easy. Ask me how I know!Steve
How do you know @stephenw10 ? :)
-
You only have to upload a config file manually without checking the xml was valid one time. The pain will teach you not to do that again.
-
@stephenw10 said in Settings clean up ?:
You only have to upload a config file manually without checking the xml was valid one time. The pain will teach you not to do that again.
Oh I know about the pain to make errors in XML
That's why I asked initial question :)
What's interesting that I don't see interface dead entry in this XML, so maybe unrelated
Thx