This commit is contained in:
Adam Warner 2016-01-15 18:45:12 +00:00
commit 5d842a7533
2 changed files with 1 additions and 3 deletions

View file

@ -139,7 +139,6 @@ function ModifyHostFile(){
function Reload() {
# Reload hosts file
echo "** Refresh lists in dnsmasq..."
dnsmasqPid=$(pidof dnsmasq)
if [[ $dnsmasqPid ]]; then

View file

@ -172,8 +172,8 @@ function gravity_Blacklist(){
blacklist.sh -f -nr -q
}
function gravity_Whitelist() {
function gravity_Whitelist() {
# Prevent our sources from being pulled into the hole
plural=; [[ "${sources[@]}" != "1" ]] && plural=s
echo "** Whitelisting ${#sources[@]} ad list source${plural}..."
@ -243,7 +243,6 @@ function gravity_advanced() {
function gravity_reload() {
# Reload hosts file
echo "** Refresh lists in dnsmasq..."
dnsmasqPid=$(pidof dnsmasq)
if [[ $dnsmasqPid ]]; then