mirror of https://github.com/captn3m0/Scripts.git
Slight fixes
This commit is contained in:
parent
b70b9cc3d5
commit
8c62b061df
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue