Update Str1.sh

This commit is contained in:
StressOzz authored and GitHub committed 2025-11-09 21:40:08 +05:00
1 parent 80a8f72fc9
commit 15064cddc3
1 file changed
+2 -1
+2 -1
View File
@@ -67,7 +67,8 @@ grep -Fxq "$domain" "$exclude_file" || echo "$domain" >> "$exclude_file"
done < "$tmpfile" done < "$tmpfile"
fi fi
rm -f "$tmpfile" rm -f "$tmpfile"
# Проверка и добавление hosts # Редактируем /etc/hosts
echo -e "${GREEN}🔴 ${CYAN}Редактируем ${NC}/etc/hosts"
file="/etc/hosts" file="/etc/hosts"
cat <<'EOF' | grep -Fxv -f "$file" 2>/dev/null >> "$file" cat <<'EOF' | grep -Fxv -f "$file" 2>/dev/null >> "$file"
130.255.77.28 ntc.party 130.255.77.28 ntc.party