diff options
author | Christian König <ckoenig@posteo.de> | 2022-06-20 00:25:53 +0300 |
---|---|---|
committer | Christian König <ckoenig@posteo.de> | 2022-06-20 00:25:53 +0300 |
commit | 2c5907a8b1f58d091d16ab935cd91d5316f36deb (patch) | |
tree | 20ecaa120e998859b72465294c2c94b28891d62d /pihole | |
parent | b20aa865b91440c34c52b2c51060661cd3b77ae9 (diff) |
Requiere sudo for pihole -tre_sudo
Signed-off-by: Christian König <ckoenig@posteo.de>
Diffstat (limited to 'pihole')
-rwxr-xr-x | pihole | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |