Commit Graph

20 Commits (master)

Author SHA1 Message Date
Adam Warner 58275ecd13
Revert "Ignore commented lines when reading PRIVACYLEVEL from config file"
1 year ago
Dan Schaper fb032ea6e7
Ignore commented lines when reading PRIVACYLEVEL from config file (#5177)
1 year ago
William Blew 3c91b6558d
restore the addKey comment, reworded for anchors
1 year ago
William Blew b9a6970bfd
Fix addKey to handle substrings of existing keys
1 year ago
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