Update common.py

pull/109/head
Mr Chen 6 years ago
parent 1d46b3835f
commit 116f5fd75e
  1. 1
      class/core/common.py

@ -50,6 +50,7 @@ def initInitD():
if not public.isAppleSystem():
initd_bin = '/etc/init.d/mw'
if not os.path.exists(initd_bin):
import shutil
shutil.copyfile(script_bin, initd_bin)
public.execShell('chmod +x ' + initd_bin)

Loading…
Cancel
Save