From 9f9af8e7c821d61be2c0df61b081e544dd59f370 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 17 Jun 2022 18:06:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3ubuntu=E3=80=90mw=E3=80=91?= =?UTF-8?q?=E8=87=AA=E5=90=AF=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- class/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/common.py b/class/core/common.py index 416d67174..74fa811d0 100755 --- a/class/core/common.py +++ b/class/core/common.py @@ -91,7 +91,7 @@ def initInitD(): mw.execShell('chmod +x ' + initd_bin) # 加入自启动 mw.execShell('which chkconfig && chkconfig --add mw') - # update-rc.d -f mw defaults + mw.execShell('which update-rc.d && update-rc.d -f mw defaults') def initUserInfo():