From b698610f91d221d83ff63a10e10dd9fd915ae1d6 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 29 Jan 2021 17:06:53 +0800 Subject: [PATCH] up --- plugins/socket5/index.html | 1 + plugins/socket5/index.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/plugins/socket5/index.html b/plugins/socket5/index.html index 489efee01..dc17059b5 100755 --- a/plugins/socket5/index.html +++ b/plugins/socket5/index.html @@ -5,6 +5,7 @@

自启动

配置

用户

+

端口

说明

diff --git a/plugins/socket5/index.py b/plugins/socket5/index.py index 4c2010c35..da7fc4117 100755 --- a/plugins/socket5/index.py +++ b/plugins/socket5/index.py @@ -136,6 +136,10 @@ def getPathFilePwd(): return '/etc/opt/ss5/ss5.passwd' +def getPathFilePort(): + return '/etc/sysconfig/ss5' + + def initdStatus(): if not app_debug: if mw.isAppleSystem(): @@ -187,6 +191,8 @@ if __name__ == "__main__": print getPathFile() elif func == 'conf_pwd': print getPathFilePwd() + elif func == 'conf_port': + print getPathFilePort() elif func == 'initd_status': print initdStatus() elif func == 'initd_install':