mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-03-07 14:03:18
This commit is contained in:
@@ -4,5 +4,5 @@ needver="0.0.1"
|
|||||||
supports="linux_arm,linux_mips,linux_x86_64"
|
supports="linux_arm,linux_mips,linux_x86_64"
|
||||||
backupfiles="config/ftpuser.conf"
|
backupfiles="config/ftpuser.conf"
|
||||||
appinfo="快速搭建Ftp服务器,局域网文件共享"
|
appinfo="快速搭建Ftp服务器,局域网文件共享"
|
||||||
newinfo="修复vsftpd脚本错误"
|
newinfo="修复vsftpd状态显示bug"
|
||||||
version="0.0.5"
|
version="0.0.6"
|
||||||
|
|||||||
@@ -135,8 +135,7 @@ stop () {
|
|||||||
|
|
||||||
status() {
|
status() {
|
||||||
|
|
||||||
result=$(pssh | grep ${mbroot}/apps/${appname}/bin/${appname} | grep -v grep | wc -l)
|
if [ -n "$(pidof "${BINPATH}")" ]; then
|
||||||
if [ "$result" == '0' ]; then
|
|
||||||
status="未运行|0"
|
status="未运行|0"
|
||||||
else
|
else
|
||||||
status="运行端口号: ${port}|1"
|
status="运行端口号: ${port}|1"
|
||||||
|
|||||||
Reference in New Issue
Block a user