Update init_cmd.py

pull/632/head
Mr Chen 5 months ago
parent 46d7f83cc4
commit 3476b4c30a
  1. 4
      web/admin/setup/init_cmd.py

@ -55,8 +55,8 @@ def init_cmd():
# 加入自启动 # 加入自启动
mw.execShell('which update-rc.d && update-rc.d -f mw defaults') mw.execShell('which update-rc.d && update-rc.d -f mw defaults')
if mw.getOsName() == 'opensuse': # if mw.getOsName() == 'opensuse':
init_cmd_systemd() # init_cmd_systemd()
return True return True

Loading…
Cancel
Save