mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-13 17:01:43 +00:00
moxbox init
This commit is contained in:
18
apps/webshell/config/mixbox.conf
Normal file
18
apps/webshell/config/mixbox.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
#------------------【WebShell】--------------------
|
||||
webshell() {
|
||||
|
||||
eval `mbdb export webshell`
|
||||
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
|
||||
|
||||
}
|
||||
#------------------【WebShell】--------------------
|
||||
1
apps/webshell/config/version.txt
Normal file
1
apps/webshell/config/version.txt
Normal file
@@ -0,0 +1 @@
|
||||
1.1.6
|
||||
7
apps/webshell/config/webshell.uci
Normal file
7
apps/webshell/config/webshell.uci
Normal file
@@ -0,0 +1,7 @@
|
||||
service="WebShell"
|
||||
appname="webshell"
|
||||
needver="0.0.1"
|
||||
supports="linux_arm,linux_mips,linux_x86_64"
|
||||
appinfo="网页ssh工具,可在网页上管理路由器"
|
||||
newinfo=""
|
||||
version="0.0.2"
|
||||
Reference in New Issue
Block a user