From 130da4e311694e798703df9b36a8f9aab297c777 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 3 Jul 2024 16:19:12 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 21481f3284..20e8a0bf93 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -246,6 +246,8 @@ mw_update() mw_update_dev() { + rm -rf /www/server/mdserver-web/bin + LOCAL_ADDR=common cn=$(curl -fsSL -m 10 -s http://ipinfo.io/json | grep "\"country\": \"CN\"") if [ ! -z "$cn" ] || [ "$?" == "0" ] ;then