nastools: add mnt bind (#34)

This commit is contained in:
练亮斌 2022-10-12 11:59:57 +08:00 committed by GitHub
parent 6f7774b323
commit 7bdb4ba234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
include $(TOPDIR)/rules.mk
PKG_VERSION:=1.1.0-20220903
PKG_VERSION:=1.1.1-20221012
PKG_RELEASE:=
LUCI_TITLE:=LuCI support for nastools

View File

@ -46,6 +46,9 @@ do_install_detail() {
fi
fi
cmd="$cmd -v /mnt:/mnt"
mountpoint -q /mnt && cmd="$cmd:rslave"
cmd="$cmd --name nastools \"$IMAGE_NAME\""
echo "$cmd"