Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pihole
diff options
context:
space:
mode:
authorChristian König <ckoenig@posteo.de>2022-06-20 00:25:53 +0300
committerChristian König <ckoenig@posteo.de>2022-06-20 00:25:53 +0300
commit2c5907a8b1f58d091d16ab935cd91d5316f36deb (patch)
tree20ecaa120e998859b72465294c2c94b28891d62d /pihole
parentb20aa865b91440c34c52b2c51060661cd3b77ae9 (diff)
Requiere sudo for pihole -tre_sudo
Signed-off-by: Christian König <ckoenig@posteo.de>
Diffstat (limited to 'pihole')
-rwxr-xr-xpihole4
1 files changed, 3 insertions, 1 deletions
diff --git a/pihole b/pihole
index 965f6288..c54a3192 100755
--- a/pihole
+++ b/pihole
@@ -503,7 +503,7 @@ case "${1}" in
"-c" | "chronometer" ) chronometerFunc "$@";;
"-q" | "query" ) queryFunc "$@";;
"status" ) statusFunc "$2";;
- "-t" | "tail" ) tailFunc "$2";;
+
"tricorder" ) tricorderFunc;;
# we need to add all arguments that require sudo power to not trigger the * argument
@@ -527,6 +527,7 @@ case "${1}" in
"checkout" ) ;;
"updatechecker" ) ;;
"arpflush" ) ;;
+ "-t" | "tail" ) ;;
* ) helpFunc;;
esac
@@ -563,4 +564,5 @@ case "${1}" in
"checkout" ) piholeCheckoutFunc "$@";;
"updatechecker" ) updateCheckFunc "$@";;
"arpflush" ) arpFunc "$@";;
+ "-t" | "tail" ) tailFunc "$2";;
esac