解决ubuntu【mw】自启动问题

pull/109/head
midoks 3 years ago
parent 3df1191c21
commit 9f9af8e7c8
  1. 2
      class/core/common.py

@ -91,7 +91,7 @@ def initInitD():
mw.execShell('chmod +x ' + initd_bin) mw.execShell('chmod +x ' + initd_bin)
# 加入自启动 # 加入自启动
mw.execShell('which chkconfig && chkconfig --add mw') 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(): def initUserInfo():

Loading…
Cancel
Save