mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +00:00
Merge branch 'promoTweaksTheSecond' into EnableOrDisable
This commit is contained in:
commit
9427b1e594
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ RemoveDomain(){
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
||||||
|
#reload gravity to pickup any entries this may have removed
|
||||||
|
pihole -g
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue