minor changes
parent
e596d0f94f
commit
fda7384fe4
|
@ -26,12 +26,10 @@ update() {
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#curl https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts -o ./.sb_hosts
|
|
||||||
|
|
||||||
#[ -f "$BLOCKFILE" ] && echo "blocklist file found." && sed 's/^/127.0.0.1 /g' "$BLOCKFILE" > ./blocklist
|
#[ -f "$BLOCKFILE" ] && echo "blocklist file found." && sed 's/^/127.0.0.1 /g' "$BLOCKFILE" > ./blocklist
|
||||||
|
|
||||||
#if [ -f "./blocklist" ]; then
|
#if [ -f "./blocklist" ]; then
|
||||||
# cat ./.hosts.orig ./.swc_hosts ./.sb_hosts ./blocklist > ./hosts
|
# cat ./.hosts.orig ./.swc_hosts ./blocklist > ./hosts
|
||||||
#else
|
#else
|
||||||
cat ./.hosts.orig ./.swc_hosts > ./hosts
|
cat ./.hosts.orig ./.swc_hosts > ./hosts
|
||||||
#fi
|
#fi
|
||||||
|
|
Loading…
Reference in New Issue