This commit is contained in:
midoks 2022-10-25 01:43:29 +08:00
parent ffb1eb34e0
commit 1c0a130b49
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ def initInitD():
mw.execShell('mkdir -p /etc/init.d')
# initd
if os.path.exists("/etc/init.d"):
if os.path.exists('/etc/init.d'):
initd_bin = '/etc/init.d/mw'
if not os.path.exists(initd_bin):
import shutil

View File

@ -245,7 +245,7 @@ case "$1" in
elif [ "$v6" != "" ]; then
if [ ! -f $mw_path/data/ipv6.pl ];then
# 需要重启,ipv4才能生效.
# Need to restart ipv6 to take effect
mw_stop
mw_start
echo 'True' > $mw_path/data/ipv6.pl