Update Str1.sh
This commit is contained in:
1 parent
cabbdc149c
commit
f348b9a4d5
1 file changed
+2
-2
@@ -60,8 +60,8 @@ sed -i \
|
||||
/^gvt3\.com$/d' /opt/zapret/ipset/zapret-hosts-user-exclude.txt
|
||||
# Скачиваем список доменов и добавляем
|
||||
echo -e "${GREEN}🔴 ${CYAN}Добавляем домены в ${NC}hostlist${CYAN} и редактируем ${NC}/etc/hosts\n"
|
||||
local exclude_file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt"
|
||||
local remote_url="https://raw.githubusercontent.com/StressOzz/Zapret-Manager/refs/heads/main/exclude-list.txt"
|
||||
exclude_file="/opt/zapret/ipset/zapret-hosts-user-exclude.txt"
|
||||
remote_url="https://raw.githubusercontent.com/StressOzz/Zapret-Manager/refs/heads/main/exclude-list.txt"
|
||||
tmpfile=$(mktemp)
|
||||
if ! curl -fsSL "$remote_url" -o "$tmpfile"; then
|
||||
echo -e "${RED}Не удалось загрузить список с GitHub!${NC}\n"
|
||||
|
||||
Reference in new issue
Block a user