代码拉取完成,页面将自动刷新
同步操作将从 fangxx3863/overwall_backup 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/sh
root="/usr/share/overwall"
#root="/Users/fang/Documents/GitHub/overwall_list/test"
File="${root}/update ${root}/downbin ${root}/preload"
# 备份部分
for i in $File
do
if [ ! -f "${i}.bak" ]; then
cp $i ${i}.bak
fi
done
# 防火墙规则部分(CDN)
sed -i 's#https://cdn.jsdelivr.net/gh/yIwIoTT9A21nupT/2aXGmlWs/KkFCtZkeAP/eFw58nNRXXfTwU4#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP/eFw58nNRXXfTwU4#g' ${root}/update
sed -i 's#https://cdn.jsdelivr.net/gh/yIwIoTT9A21nupT/2aXGmlWs/KkFCtZkeAP/t8eOh94EJIHTXR6#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP/t8eOh94EJIHTXR6#g' ${root}/update
sed -i 's#https://cdn.jsdelivr.net/gh/yIwIoTT9A21nupT/2aXGmlWs/KkFCtZkeAP/avtPeqDKt645Arm#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP/avtPeqDKt645Arm#g' ${root}/update
sed -i 's#https://cdn.jsdelivr.net/gh/fangxx3863/overwall_list/China_IPList#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP/eFw58nNRXXfTwU4#g' ${root}/update
sed -i 's#https://cdn.jsdelivr.net/gh/fangxx3863/overwall_list/China_IPv6List#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP/t8eOh94EJIHTXR6#g' ${root}/update
sed -i 's#https://cdn.jsdelivr.net/gh/fangxx3863/overwall_list/GFW_List#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP/avtPeqDKt645Arm#g' ${root}/update
# 防火墙规则部分(GITHUB)
sed -i 's#https://raw.githubusercontent.com/fangxx3863/overwall_list/main/China_IPList#https://raw.githubusercontent.com/yIwIoTT9A21nupT/2aXGmlWs/master/KkFCtZkeAP/eFw58nNRXXfTwU4#g' ${root}/update
sed -i 's#https://raw.githubusercontent.com/fangxx3863/overwall_list/main/China_IPv6List#https://raw.githubusercontent.com/yIwIoTT9A21nupT/2aXGmlWs/master/KkFCtZkeAP/t8eOh94EJIHTXR6#g' ${root}/update
sed -i 's#https://raw.githubusercontent.com/fangxx3863/overwall_list/main/GFW_List#https://raw.githubusercontent.com/yIwIoTT9A21nupT/2aXGmlWs/master/KkFCtZkeAP/avtPeqDKt645Arm#g' ${root}/update
# 分流域名部分
sed -i 's#https://cdn.jsdelivr.net/gh/yIwIoTT9A21nupT/2aXGmlWs/KkFCtZkeAP#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP#g' ${root}/preload
sed -i 's#https://cdn.jsdelivr.net/gh/fangxx3863/overwall_list/Bypass#https://gitee.com/fangxx3863/overwall_backup/raw/master/KkFCtZkeAP#g' ${root}/preload
sed -i 's#https://raw.githubusercontent.com/fangxx3863/overwall_list/main/Bypass#https://raw.githubusercontent.com/yIwIoTT9A21nupT/2aXGmlWs/master/KkFCtZkeAP#g' ${root}/preload
# NF
sed -i 's#NF_IPList_Small#MnwTZoJKZA7F3xf#g' ${root}/preload
sed -i 's#NF_IPList_Big#S1WMOUf0VmdLPT9#g' ${root}/preload
# TG
sed -i 's#TG_IPList#ufk8kHo4ZpsOekg#g' ${root}/preload
# K2P_16M架构BIN下载部分
while ! curl -m 9 -Lfso ${root}/downbin https://gitee.com/fangxx3863/overwall_backup/raw/master/downbin;do
sleep 2
done
chmod +x ${root}/downbin
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。