|
|
|
@ -75,23 +75,23 @@ function uninstallFunc {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function helpFunc {
|
|
|
|
|
echo "::: Control all PiHole specific functions!"
|
|
|
|
|
echo ":::"
|
|
|
|
|
echo "::: Usage: pihole [options]"
|
|
|
|
|
printf ":::\tAdd -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage\n"
|
|
|
|
|
echo ":::"
|
|
|
|
|
echo "::: Options:"
|
|
|
|
|
echo "::: -w, whitelist Whitelist domains"
|
|
|
|
|
echo "::: -b, blacklist Blacklist domains"
|
|
|
|
|
echo "::: -d, debug Start a debugging session if having trouble"
|
|
|
|
|
echo "::: -f, flush Flush the pihole.log file"
|
|
|
|
|
echo "::: -u, updateDashboard Update the web dashboard manually"
|
|
|
|
|
echo "::: -g, updateGravity Update the list of ad-serving domains"
|
|
|
|
|
echo "::: -s, setupLCD Automatically configures the Pi to use the 2.8 LCD screen to display stats on it"
|
|
|
|
|
echo "::: Control all PiHole specific functions!"
|
|
|
|
|
echo ":::"
|
|
|
|
|
echo "::: Usage: pihole [options]"
|
|
|
|
|
printf "::: Add -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage"
|
|
|
|
|
echo ":::"
|
|
|
|
|
echo "::: Options:"
|
|
|
|
|
echo "::: -w, whitelist Whitelist domains"
|
|
|
|
|
echo "::: -b, blacklist Blacklist domains"
|
|
|
|
|
echo "::: -d, debug Start a debugging session if having trouble"
|
|
|
|
|
echo "::: -f, flush Flush the pihole.log file"
|
|
|
|
|
echo "::: -u, updateDashboard Update the web dashboard manually"
|
|
|
|
|
echo "::: -g, updateGravity Update the list of ad-serving domains"
|
|
|
|
|
echo "::: -s, setupLCD Automatically configures the Pi to use the 2.8 LCD screen to display stats on it"
|
|
|
|
|
echo "::: -c, chronometer Calculates stats and displays to an LCD"
|
|
|
|
|
echo "::: -h, help Show this help dialog"
|
|
|
|
|
echo "::: uninstall Uninstall Pi-Hole from your system!"
|
|
|
|
|
exit 1
|
|
|
|
|
exit 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if [[ $# = 0 ]]; then
|
|
|
|
|