|
|
|
@ -71,7 +71,8 @@ flushFunc() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
updatePiholeFunc() {
|
|
|
|
|
"${PI_HOLE_SCRIPT_DIR}"/update.sh
|
|
|
|
|
shift
|
|
|
|
|
"${PI_HOLE_SCRIPT_DIR}"/update.sh "$@"
|
|
|
|
|
exit 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -620,6 +621,7 @@ Options:
|
|
|
|
|
-q, query Query the adlists for a specified domain
|
|
|
|
|
Add '-h' for more info on query usage
|
|
|
|
|
-up, updatePihole Update Pi-hole subsystems
|
|
|
|
|
Add '--check-only' to exit script before update is performed.
|
|
|
|
|
-v, version Show installed versions of Pi-hole, Admin Console & FTL
|
|
|
|
|
Add '-h' for more info on version usage
|
|
|
|
|
uninstall Uninstall Pi-hole from your system
|
|
|
|
@ -644,7 +646,7 @@ case "${1}" in
|
|
|
|
|
"-wild" | "wildcard" ) wildcardFunc "$@";;
|
|
|
|
|
"-d" | "debug" ) debugFunc "$@";;
|
|
|
|
|
"-f" | "flush" ) flushFunc "$@";;
|
|
|
|
|
"-up" | "updatePihole" ) updatePiholeFunc;;
|
|
|
|
|
"-up" | "updatePihole" ) updatePiholeFunc "$@";;
|
|
|
|
|
"-r" | "reconfigure" ) reconfigurePiholeFunc;;
|
|
|
|
|
"-g" | "updateGravity" ) updateGravityFunc "$@";;
|
|
|
|
|
"-c" | "chronometer" ) chronometerFunc "$@";;
|
|
|
|
|