mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-20 07:08:13 +00:00
Added gravity.sh to the list of options
This commit is contained in:
parent
76ea1962be
commit
fee55fa642
@ -13,7 +13,7 @@
|
||||
if [[ $# = 0 ]]; then
|
||||
echo "::: Immediately blacklists one or more domains in the hosts file"
|
||||
echo ":::"
|
||||
echo "::: Usage: pihole.sh -b domain1 [domain2 ...]"
|
||||
echo "::: Usage: sudo pihole.sh -b domain1 [domain2 ...]"
|
||||
echo ":::"
|
||||
echo "::: Options:"
|
||||
echo "::: -d, --delmode Remove domains from the blacklist"
|
||||
|
@ -120,7 +120,7 @@ function normalChrono(){
|
||||
function displayHelp(){
|
||||
echo "::: Displays stats about your piHole!"
|
||||
echo ":::"
|
||||
echo "::: Usage: pihole.sh -c [optional:-j]"
|
||||
echo "::: Usage: sudo pihole.sh -c [optional:-j]"
|
||||
echo "::: Note: If no option is passed, then stats are displayed on screen, updated every 5 seconds"
|
||||
echo ":::"
|
||||
echo "::: Options:"
|
||||
|
@ -13,7 +13,7 @@
|
||||
if [[ $# = 0 ]]; then
|
||||
echo "::: Immediately whitelists one or more domains in the hosts file"
|
||||
echo ":::"
|
||||
echo "::: Usage: pihole -w domain1 [domain2 ...]"
|
||||
echo "::: Usage: sudo pihole.sh -w domain1 [domain2 ...]"
|
||||
echo ":::"
|
||||
echo "::: Options:"
|
||||
echo "::: -d, --delmode Remove domains from the whitelist"
|
||||
|
21
pihole.sh
21
pihole.sh
@ -61,6 +61,10 @@ function chronometerFunc {
|
||||
$SUDO /opt/pihole/chronometer.sh
|
||||
exit 1
|
||||
}
|
||||
function gravityFunc {
|
||||
$SUDO /opt/pihole/gravity.sh
|
||||
exit 1
|
||||
}
|
||||
|
||||
function helpFunc {
|
||||
echo "::: Control all PiHole specific functions!"
|
||||
@ -69,14 +73,15 @@ function helpFunc {
|
||||
printf ":::\tAdd -h after -w, -b, or -c for more information on usage\n"
|
||||
echo ":::"
|
||||
echo "::: Options:"
|
||||
printf "::: -w, --whitelist\t\tWhitelist domains\n"
|
||||
printf "::: -b, --blacklist\t\tBlacklist domains\n"
|
||||
printf "::: -d, --debug\t\tStart a debugging session if having trouble\n"
|
||||
printf "::: -f, --flush\t\tFlush the pihole.log file\n"
|
||||
printf "::: -u, --updateDashboard\t\tUpdate the web dashboard manually\n"
|
||||
printf "::: -s, --setupLCD\t\tAutomatically configures the Pi to use the 2.8 LCD screen to display stats on it\n"
|
||||
printf "::: -c, --chronometer\t\tCalculates stats and displays to an LCD\n"
|
||||
printf "::: -h, --help\t\tShow this help dialog\n"
|
||||
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"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user