mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
added a quiet option for when the script is called by gravity. Less output = less confusion!
This commit is contained in:
parent
8ad116fe7b
commit
534dbc9b6e
@ -10,6 +10,10 @@
|
|||||||
if [[ $# = 0 ]]; then
|
if [[ $# = 0 ]]; then
|
||||||
echo "Immediately whitelists one or more domains in the hosts file"
|
echo "Immediately whitelists one or more domains in the hosts file"
|
||||||
echo "Usage: whitelist.sh domain1 [domain2 ...]"
|
echo "Usage: whitelist.sh domain1 [domain2 ...]"
|
||||||
|
echo "Options:"
|
||||||
|
echo " -d, --delmode Remove domains from the whitelist"
|
||||||
|
echo " -nr, --noreload Update Whitelist without refreshing dnsmasq
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user