update
This commit is contained in:
parent
3a70c388cc
commit
eeef2abaf3
|
|
@ -80,6 +80,7 @@ def mwcli(mw_input=0):
|
|||
'(101) 关闭PHP52显示',
|
||||
'(200) 切换Linux系统软件源',
|
||||
'(201) 简单速度测试',
|
||||
'(202) SSH终端管理',
|
||||
'(0) 取消'
|
||||
]
|
||||
cmd_list_num = len(cmd_list)
|
||||
|
|
@ -264,6 +265,8 @@ def mwcli(mw_input=0):
|
|||
# os.system(INIT_CMD + " mirror")
|
||||
elif mw_input == 201:
|
||||
os.system('curl -Lso- bench.sh | bash')
|
||||
elif mw_input == 202:
|
||||
print("SSH终端管理")
|
||||
|
||||
|
||||
def open_ssh_port():
|
||||
|
|
|
|||
|
|
@ -631,6 +631,10 @@ mw_valkey(){
|
|||
${CLIEXEC}
|
||||
}
|
||||
|
||||
mw_ssh(){
|
||||
echo "123123"
|
||||
}
|
||||
|
||||
mw_venv(){
|
||||
cd ${PANEL_DIR} && source bin/activate
|
||||
}
|
||||
|
|
@ -755,6 +759,7 @@ case "$1" in
|
|||
'redis') mw_redis;;
|
||||
'valkey')mw_valkey;;
|
||||
'mongodb') mw_mongodb;;
|
||||
'ssh') mw_ssh;;
|
||||
'venv') mw_update_venv;;
|
||||
'clean_lib') mw_clean_lib;;
|
||||
'list') mw_list;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue