Update mw.tpl

pull/632/head
Mr Chen 6 months ago
parent 328543852c
commit 9fd7d20051
  1. 4
      scripts/init.d/mw.tpl

@ -564,8 +564,8 @@ case "$1" in
fi fi
if [ "$address" == "" ];then if [ "$address" == "" ];then
v4=$(python3 ${PANEL_DIR}/panel_tools.py getServerIp 4) v4=$(cd ${PANEL_DIR} && python3 ${PANEL_DIR}/panel_tools.py getServerIp 4)
v6=$(python3 ${PANEL_DIR}/panel_tools.py getServerIp 6) v6=$(cd ${PANEL_DIR} && python3 ${PANEL_DIR}/panel_tools.py getServerIp 6)
if [ "$v4" != "" ] && [ "$v6" != "" ]; then if [ "$v4" != "" ] && [ "$v6" != "" ]; then

Loading…
Cancel
Save