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