From 296499b61c9b804e4a302b1f1bae6c7269d2b922 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 8 Jun 2020 08:11:33 +0800 Subject: [PATCH] Update index.py --- plugins/v2ray/index.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/plugins/v2ray/index.py b/plugins/v2ray/index.py index 101fc3a38..20305a06d 100755 --- a/plugins/v2ray/index.py +++ b/plugins/v2ray/index.py @@ -106,13 +106,7 @@ def getInitDFile(): def initdStatus(): - if not app_debug: - if public.isAppleSystem(): - return "Apple Computer does not support" - initd_bin = getInitDFile() - if os.path.exists(initd_bin): - return 'ok' - return 'fail' + return 'ok' def initdInstall(): @@ -121,7 +115,6 @@ def initdInstall(): if public.isAppleSystem(): return "Apple Computer does not support" - public.execShell('chmod +x ' + initd_bin) public.execShell('chkconfig --add ' + getPluginName()) return 'ok'