Commit Graph

267 Commits (master)

Author SHA1 Message Date
Christian König ca00ffa101
Only source versions file if the file exits
1 year ago
Adam Warner b8eae60fcc
Disable a few commands for Docker. Currently this is done by monkeypatching the the `pihole` file on Docker install, however if someone was to run pihole checkout, these patches are removed.
1 year ago
RD WebDesign 233453267e
Using `shift` to allow passing multiple arguments
1 year ago
RD WebDesign f3c27f706f
Pass only the correct argument
1 year ago
Christian König 3d01e4d0cf No detour - use pihole-FTL.conf to get the API port number
2 years ago
Christian König 89b88416b3
Fix 4898
2 years ago
Christian König 7b77d991df
Move FTL port and PID functions to utils.sh
2 years ago
Christian König b486786041
Add database healthy checks to debug script
2 years ago
Christian König 2c5907a8b1
Requiere sudo for pihole -t
2 years ago
Adam Warner 36dd533ef3 use directory /var/log/pihole/ for log storage
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
Adam Warner 86dd612882
remove `readonly` directive from declaration of `utilsfile`, it is unnecassery
2 years ago
yubiuser 42d3368955
Merge pull request #4663 from pi-hole/no_root
2 years ago
Adam Warner 4d31d5ee11
Address review comments
2 years ago
yubiuser 6121c162ff
Fix typo
2 years ago
Adam Warner 7fa8cdd03e
Address:
2 years ago
Christian König 722a716de3
Add exit code to status function
2 years ago
Christian König 614d18cd3d
Debug need sudo
2 years ago
Christian König 54ce8c2622
Only use sudo power if needed
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
Adam Warner 1dd9d55d82
Replace value for BLOCKING_ENABLED (and QUERY_LOGGING, for consistency) and if value that we are trying to replace does not exist, add it to the end of the file.
2 years ago
Lukas Schlötterer ed6b85241b
use sed substitute instead of delete and append (#4555)
2 years ago
DL6ER 5823f5e254
Use ss instead of lsof (#4518)
2 years ago
Christian König 3989cc19e9
Remove double text output
2 years ago
Christian König bcb59159ed
Analyse port also on ports other than 53
2 years ago
Christian König 2b52f92647
Inlcude port also in cli output
2 years ago
Christian König f45248df80
Use FTL's new dns-port API endpoint
2 years ago
Christian König 5729f64ddc
Fix missing fi
2 years ago
yubiuser 4a2f4c1bce
Fix indention_2
2 years ago
yubiuser 5ef731fc57
Fix indention
2 years ago
Christian König 71ebd64f4e
mend
2 years ago
Christian König 9f0e0dbd37
Fix analyse ports
2 years ago
Christian König ef30a85afb
Include port in status function
2 years ago
yubiuser ae39e338fe
Use exec to run gravity script (#4449)
2 years ago
Subhaditya Nath ba6d700e7e
Fix `pihole -v` output if WebAdmin not installed (#4370)
2 years ago
DL6ER cbc99d45c6
Small style change to finished debug upload display
3 years ago
DL6ER be68a5339c
Apply same improvement to pihole tricorder feature
3 years ago
DL6ER 115e3eeda9
Use --no-progress-meter instead of --silent so error reasons are printed
3 years ago
DL6ER 21897d7fbd
Add warning if curl failed
3 years ago
DL6ER 31c7c019cb
Fix piping to pihole tricorder
3 years ago
Christian König ffe45e8b76 On enabling/disabeling only reload-lists instead of reload
3 years ago
Christian König 6be647a85f Fix coloring of pihole -t
3 years ago
Adam Warner 4ac4bc5c18
Merge branch 'development' into fix/gravity_no_locallist
3 years ago
Christian König 4fb5157719 Squashed commits
3 years ago
DL6ER aa88be335e
Acknowledge that IPV{4,6}_ADDRESS may not exist
3 years ago
DL6ER 5df7ed2f32
Obtain FTL's PID from the PID file (#4103)
3 years ago
Christian König e7d937c412 Be more specific what pihole -d -a does
3 years ago
Adam Warner bb1a6243d6
Merge pull request #3669 from pi-hole/release/v5.1.2
4 years ago
Dan Schaper 548ad6375d
Merge pull request #3524 from pi-hole/fix/status_checking
4 years ago