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':