From f99502d2c8b386dbd6b73d57fab509d75872d322 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 12 Dec 2018 21:57:24 +0800 Subject: [PATCH] Update config.py --- class/core/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/class/core/config.py b/class/core/config.py index bec498445..106dee15a 100644 --- a/class/core/config.py +++ b/class/core/config.py @@ -65,6 +65,7 @@ class config: initd_bin = '/etc/init.d/mw' if not os.path.exists(initd_bin): shutil.copyfile(script_bin, initd_bin) + public.execShell('chmod +x ' + initd_bin) def getVersion(self): return self.__version