Update Str4.sh
This commit is contained in:
1 parent
2533873495
commit
31492f07da
1 file changed
+11
@@ -69,6 +69,17 @@ yt3.googleusercontent.com
|
||||
yting.com
|
||||
gstatic.com
|
||||
EOF
|
||||
# Проверка и перезапись файла исключений пользователей
|
||||
echo -e "${GREEN}🔴 ${CYAN}Добавляем домены в ${NC}hostlist"
|
||||
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"
|
||||
# Удаляем старый файл
|
||||
rm -f "$exclude_file"
|
||||
# Скачиваем новый файл на его место
|
||||
if ! curl -fsSL "$remote_url" -o "$exclude_file"; then
|
||||
echo -e "${RED}Не удалось загрузить список с GitHub!${NC}\n"
|
||||
read -p "Нажмите Enter для выхода в главное меню..." dummy
|
||||
fi
|
||||
# копируем 4pda.bin
|
||||
echo -e "${GREEN}🔴 ${CYAN}Копируем ${NC}4pda.bin${CYAN} на устройство${NC}"
|
||||
curl -sLo /opt/zapret/files/fake/4pda.bin https://github.com/StressOzz/Zapret-Manager/raw/refs/heads/main/4pda.bin
|
||||
|
||||
Reference in new issue
Block a user