Update Str1.sh
This commit is contained in:
1 parent
80a8f72fc9
commit
15064cddc3
1 file changed
+2
-1
@@ -67,7 +67,8 @@ grep -Fxq "$domain" "$exclude_file" || echo "$domain" >> "$exclude_file"
|
||||
done < "$tmpfile"
|
||||
fi
|
||||
rm -f "$tmpfile"
|
||||
# Проверка и добавление hosts
|
||||
# Редактируем /etc/hosts
|
||||
echo -e "${GREEN}🔴 ${CYAN}Редактируем ${NC}/etc/hosts"
|
||||
file="/etc/hosts"
|
||||
cat <<'EOF' | grep -Fxv -f "$file" 2>/dev/null >> "$file"
|
||||
130.255.77.28 ntc.party
|
||||
|
||||
Reference in new issue
Block a user