Shell script to generate various combinations of hosts files and extensions.

This commit is contained in:
Steven Black 2016-03-13 01:48:38 -05:00
parent 9923ed2194
commit d1b6b4ad32

13
makeHosts Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# This creates a vanilla hosts file
python updateHostsFile.py -a -n
# These create various alternate hosts files by combining and adding the gambling, porn, and social media extensions.
python updateHostsFile.py -a -n -o alternates/gambling -e gambling
python updateHostsFile.py -a -n -o alternates/porn -e porn
python updateHostsFile.py -a -n -o alternates/social -e social
python updateHostsFile.py -a -n -o alternates/gambling-porn -e gambling porn
python updateHostsFile.py -a -n -o alternates/gambling-social -e gambling social
python updateHostsFile.py -a -n -o alternates/porn-social -e porn social
python updateHostsFile.py -a -n -o alternates/gambling-porn-social -e gambling porn social