update
This commit is contained in:
parent
766dc32287
commit
ad66ecc628
|
|
@ -154,7 +154,7 @@ def initdUinstall():
|
|||
mw.execShell('systemctl disable x-ui')
|
||||
return 'ok'
|
||||
|
||||
def getMtproxyUrl():
|
||||
def getXuiInfo():
|
||||
|
||||
user = pSqliteDb('users')
|
||||
|
||||
|
|
@ -209,7 +209,7 @@ if __name__ == "__main__":
|
|||
print(getServiceFile())
|
||||
elif func == 'conf_env':
|
||||
print(getConfEnv())
|
||||
elif func == 'url':
|
||||
print(getMtproxyUrl())
|
||||
elif func == 'info':
|
||||
print(getXuiInfo())
|
||||
else:
|
||||
print('error')
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ sysArch=`arch`
|
|||
sysName=`uname`
|
||||
|
||||
|
||||
# cd /www/server/mdserver-web && python3 plugins/xui/index.py url
|
||||
# cd /www/server/mdserver-web && python3 plugins/xui/index.py info
|
||||
# cd /www/server/mdserver-web/plugins/xui && /bin/bash install.sh install 1.0
|
||||
|
||||
VERSION=$2
|
||||
|
|
|
|||
Loading…
Reference in New Issue