pull/109/head
midoks 4 years ago
parent 151c26b004
commit b698610f91
  1. 1
      plugins/socket5/index.html
  2. 6
      plugins/socket5/index.py

@ -5,6 +5,7 @@
<p onclick="pluginInitD('socket5');">自启动</p>
<p onclick="pluginConfig('socket5',null, 'conf');">配置</p>
<p onclick="pluginConfig('socket5',null, 'conf_pwd');">用户</p>
<p onclick="pluginConfig('socket5',null, 'conf_port');">端口</p>
<p onclick="readme();">说明</p>
</div>
<div class="bt-w-con pd15">

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

Loading…
Cancel
Save