update 03-23 12:51

This commit is contained in:
github-actions[bot] 2022-03-23 12:51:59 +08:00
parent 470638dae3
commit a16342162f
2 changed files with 2 additions and 3 deletions

View File

@ -104,8 +104,7 @@ start_service() {
if [ "${configfile}" = "./def_config.yaml" ]; then
restore_setting
prepare_setting
redirect=$(uci -q get mosdns.mosdns.redirect)
if [ "$redirect" -eq 1 ]; then
if [ "$(uci -q get mosdns.mosdns.redirect)" -eq 1 ] && [ "$(uci -q get shadowsocksr.@global[0].run_mode)" != gfw ]; then
cat /dev/null > /etc/ssrplus/gfw_list.conf
sed -i '/update.lua/d' /usr/share/shadowsocksr/ssrplusupdate.sh
sed -i '/bin\/sh/a\/usr/bin/lua /usr/share/shadowsocksr/update.lua ad_data' /usr/share/shadowsocksr/ssrplusupdate.sh

View File

@ -1,4 +1,4 @@
example.example
tracking.miui.com
tracking.intl.miui.com
api.intl.miui.com
stat.xiaomi.com