Slight fixes

This commit is contained in:
Nemo 2019-04-16 00:56:17 +05:30
parent b70b9cc3d5
commit 8c62b061df
2 changed files with 4 additions and 7 deletions

View File

@ -42,10 +42,9 @@ popd
if ping -c 1 192.168.1.1 &> /dev/null
then
# Generate the Blacklist
pushd /home/nemo/projects/personal/dnscrypt-proxy/contrib/
pushd /home/nemo/projects/personal/dnscrypt-proxy/utils/generate-domains-blacklists
python2 ./generate-domains-blacklist.py > blacklist.txt
blacklist2hosts.php blacklist.txt hosts
popd
else
echo 0
# TODO: Copy it across to the router
fi

View File

@ -17,10 +17,8 @@ sync_repo /home/nemo/.password-store
CWD1=`pwd`
# mobile-passwords
cd /home/nemo/projects/personal/mobile-passwords
./runme.sh
cp -r /home/nemo/.password-store/mobile-sync/*.gpg /home/nemo/projects/personal/mobile-passwords/
sync_repo /home/nemo/projects/personal/mobile-passwords
cd $CWD1
# TODO:
# scripts?: NO