Created
October 7, 2019 14:40
-
-
Save mvoropaiev/9073fe1cdff0b790edbdf48eb6ab7200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -ex | |
# fetch latest version | |
curl https://www.micu.eu/adblock/adblock.php >./adblock.rsc | |
cat adblock.rsc | grep -v 'add address' | grep -v 'ip dns static' | |
read -n 1 -s -r -p "Press any key to continue" | |
# copy and import file | |
scp ./adblock.rsc admin@192.168.88.1:/adblock.rsc | |
ssh admin@192.168.88.1 /import adblock.rsc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment