Skip to content

Commit

Permalink
Update host.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
FusionPlmH authored Feb 19, 2025
1 parent 06c096e commit eff55a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Clean up old files
echo "Clean..."
rm -f host adblocker dnsmasq.conf smartdns.conf domain clash allow
rm -f host adblocker dnsmasq.conf smartdns.conf domain clash allow block

# Merge allowlist
echo "Merge allow..."
Expand Down Expand Up @@ -91,7 +91,7 @@ rm -f tmphost


# Create lists
tee adblocker dnsmasq.conf smartdns.conf domain clash < host >/dev/null
tee adblocker dnsmasq.conf smartdns.conf domain clash block < host >/dev/null
for file in host adblocker dnsmasq.conf smartdns.conf domain clash
do
cat title "$file" > temp.file && mv temp.file "$file"
Expand Down

0 comments on commit eff55a4

Please sign in to comment.