3 ms·
No. You're not being sarcastic here. PFs config files can't really be any more complicated or easier in json than in its native form. So, other than validation
by intothemild 1y ago
No. You're not being sarcastic here. PFs config files can't really be any more complicated or easier in json than in its native form.
So, other than validation or something... Which, if you are already parsing the file into json and back again... Means you already can parse pf.conf files, and just do validation directly there.
So if it's just backing up, then yeah why add the extra step of converting the file before backing it up
- hnlmorg 1y agoI assumed it was to make it easier working with the files programmatically. Eg using jq or one of the many many other solutions for JSON in shell scripts.