mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-11 07:51:54 +00:00
修复vsftpd错误
This commit is contained in:
@@ -53,10 +53,10 @@ vsftpd() {
|
||||
[ "$res" == '1' ] && vsftpdAdd
|
||||
read -p "删除${appname}用户?[1/0] " res
|
||||
[ "$res" == '1' ] && vsftpdDel
|
||||
# if [ "$(mbdb get entware.main.enable)" = '1' ]; then
|
||||
# readsh "使用entware安装插件程序[1/0]" "entware" "1"
|
||||
# # [ "$entware" = '1' ] && mv ${mbroot}/apps/${appname}/bin/${appname} ${mbroot}/apps/${appname}/bin/${appname}.bak &> /dev/null
|
||||
# fi
|
||||
if [ "$(mbdb get entware.main.enable)" = '1' ]; then
|
||||
readsh "使用entware安装插件程序[1/0]" "entware" "1"
|
||||
# [ "$entware" = '1' ] && mv ${mbroot}/apps/${appname}/bin/${appname} ${mbroot}/apps/${appname}/bin/${appname}.bak &> /dev/null
|
||||
fi
|
||||
readsh "请输入${appname}外网访问配置[1/0]" "openport" "1"
|
||||
|
||||
${mbroot}/apps/${appname}/scripts/${appname}.sh restart
|
||||
|
||||
@@ -5,4 +5,4 @@ supports="linux_arm,linux_mips,linux_x86_64"
|
||||
backupfiles="config/ftpuser.conf"
|
||||
appinfo="快速搭建Ftp服务器,局域网文件共享"
|
||||
newinfo="修复vsftpd脚本错误"
|
||||
version="0.0.4"
|
||||
version="0.0.5"
|
||||
|
||||
Reference in New Issue
Block a user