mirror of https://github.com/captn3m0/Scripts.git
using nextdns, no longer needed
This commit is contained in:
parent
36b9ec0869
commit
80676d3f7a
11
housekeeping
11
housekeeping
|
@ -28,14 +28,3 @@ echo "Going to try stuff that needs network access now"
|
||||||
|
|
||||||
# Sync git repositories
|
# Sync git repositories
|
||||||
syncrepos
|
syncrepos
|
||||||
|
|
||||||
# Generate a blacklist hosts file
|
|
||||||
if ping -c 1 192.168.1.1 &> /dev/null
|
|
||||||
then
|
|
||||||
# Generate the Blacklist
|
|
||||||
pushd /home/nemo/projects/personal/dnscrypt-proxy/utils/generate-domains-blacklists
|
|
||||||
python2 ./generate-domains-blacklist.py > blacklist.txt
|
|
||||||
scp blacklist.txt root@192.168.1.1:/etc/config/blacklist.txt
|
|
||||||
echo "Generated and copied across blacklist to Router"
|
|
||||||
popd
|
|
||||||
fi
|
|
Loading…
Reference in New Issue