修复vsftpd脚本错误

This commit is contained in:
monlor
2020-03-07 13:17:04 +08:00
parent a72748e721
commit f61eb3528d
4 changed files with 9 additions and 10 deletions

View File

@@ -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

View File

@@ -1 +0,0 @@
1.1.6

View File

@@ -4,5 +4,5 @@ needver="0.0.1"
supports="linux_arm,linux_mips,linux_x86_64"
backupfiles="config/ftpuser.conf"
appinfo="快速搭建Ftp服务器局域网文件共享"
newinfo=""
version="0.0.3"
newinfo="修复vsftpd脚本错误"
version="0.0.4"