refactor: remove mixbox.conf

This commit is contained in:
Fred Liang
2020-05-27 13:17:00 +08:00
parent f2814f0347
commit f541469649
2 changed files with 3 additions and 21 deletions

View File

@@ -1,18 +0,0 @@
#------------------【ttyd】--------------------
webshell() {
eval `mbdb export ttyd`
source /etc/mixbox/bin/base
echo "********* $service ***********"
echo "[${appinfo}]"
readsh "启动${appname}服务[1/0] " "enable" "1"
if [ "$enable" == '1' ]; then
readsh "请输入${appname}端口号" "port" "4200"
readsh "请输入${appname}外网访问配置[1/0]" "openport" "1"
${mbroot}/apps/${appname}/scripts/${appname}.sh restart
else
${mbroot}/apps/${appname}/scripts/${appname}.sh stop
fi
}
#------------------【ttyd】--------------------

View File

@@ -1,7 +1,7 @@
service="TTYD"
service="ttyd"
appname="ttyd"
needver="0.0.1"
supports="linux_arm,linux_mips,linux_x86_64"
appinfo="网页ssh工具可在网页上管理路由器"
appinfo="网页ssh工具可在网页上 执行 shell"
newinfo=""
version="0.0.2"
version="0.0.1"