|
|
@ -425,7 +425,7 @@ tricorderFunc() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
updateCheckFunc() {
|
|
|
|
updateCheckFunc() {
|
|
|
|
"${PI_HOLE_SCRIPT_DIR}"/updatecheck.sh "$1"
|
|
|
|
"${PI_HOLE_SCRIPT_DIR}"/updatecheck.sh "$@"
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -553,7 +553,7 @@ case "${1}" in
|
|
|
|
"restartdns" ) restartDNS "$2";;
|
|
|
|
"restartdns" ) restartDNS "$2";;
|
|
|
|
"-a" | "admin" ) webpageFunc "$@";;
|
|
|
|
"-a" | "admin" ) webpageFunc "$@";;
|
|
|
|
"checkout" ) piholeCheckoutFunc "$@";;
|
|
|
|
"checkout" ) piholeCheckoutFunc "$@";;
|
|
|
|
"updatechecker" ) updateCheckFunc "$2";;
|
|
|
|
"updatechecker" ) shift; updateCheckFunc "$@";;
|
|
|
|
"arpflush" ) arpFunc "$@";;
|
|
|
|
"arpflush" ) arpFunc "$@";;
|
|
|
|
"-t" | "tail" ) tailFunc "$2";;
|
|
|
|
"-t" | "tail" ) tailFunc "$2";;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|