Commit Graph

16 Commits (4fd0f15d903472e2e56ee3604a16d48d982ab01b)

Author SHA1 Message Date
Christian König 4fd0f15d90
Ignore commented lines when reding PRIVACYLEVEL from config file
1 year ago
Christian König 67385b7ed4
Touch files before addKey or addOrEditKeyValPair
2 years ago
Christian König 276c480f50
Return default port if non-numeric characters are set in pihole-FTL.conf for FTLPORT. FTL does the same in such case and provide the API on 4711
2 years ago
Christian König 25ba68104b Remove last traces
2 years ago
Christian König 3d01e4d0cf No detour - use pihole-FTL.conf to get the API port number
2 years ago
Christian König 7b77d991df
Move FTL port and PID functions to utils.sh
2 years ago
Christian König 73d5902bed
Add editorconfig-checker workflow
2 years ago
Adam Warner d78c689e55
no more alphabetical order
2 years ago
Adam Warner db116971ce
I tried to do too many things in one function, vastly overcomplicating what should have been _this_ all along
2 years ago
yubiuser 9b4f6c84cd
Minor review comments
2 years ago
Adam Warner 4d31d5ee11
Address review comments
2 years ago
Adam Warner 7fa8cdd03e
Address:
2 years ago
Adam Warner 59fc3804be
Make utils.sh posix compatible per request
2 years ago
Adam Warner 48138d32b6
Adjust addOrEditKeyValPair to optionally take two or three arguments (adjust test to suit)
2 years ago
Christian König 42424b515b Add getFTLAPIPort function
2 years ago
Adam Warner 77e5121d43
Split new function out into a separte utility script and add a test for it. Can be used in future to organise re/commonly-used code
2 years ago