From a87970363a27b1923f3657a1b2a8610bb2a8e6aa Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 15 Mar 2019 14:42:38 +0800 Subject: [PATCH] Update common.py --- class/core/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/class/core/common.py b/class/core/common.py index 2067c889e..7d40d90a0 100755 --- a/class/core/common.py +++ b/class/core/common.py @@ -68,6 +68,8 @@ def initInitD(): import shutil shutil.copyfile(script_bin, initd_bin) public.execShell('chmod +x ' + initd_bin) + #加入自启动 + public.execShell('chkconfig --add mw') def initUserInfo():