From: DENG Qingfang Date: Mon, 10 Feb 2020 14:49:32 +0000 (+0800) Subject: antfs-mount: mount script for antfs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F11154%2Fhead;p=feed%2Fpackages.git antfs-mount: mount script for antfs block-mount needs "mount.ntfs" script to mount NTFS drives Signed-off-by: DENG Qingfang --- diff --git a/utils/antfs-mount/Makefile b/utils/antfs-mount/Makefile new file mode 100644 index 0000000000..48ffc6f1cc --- /dev/null +++ b/utils/antfs-mount/Makefile @@ -0,0 +1,28 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=antfs-mount +PKG_RELEASE:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/antfs-mount + SECTION:=utils + CATEGORY:=Utilities + SUBMENU:=Filesystem + TITLE:=NTFS mount script for AVM NTFS driver + PKGARCH:=all + DEPENDS:=+kmod-fs-antfs +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/antfs-mount/install + $(INSTALL_DIR) $(1)/sbin + $(INSTALL_BIN) ./files/mount.ntfs $(1)/sbin +endef + +$(eval $(call BuildPackage,antfs-mount)) diff --git a/utils/antfs-mount/files/mount.ntfs b/utils/antfs-mount/files/mount.ntfs new file mode 100644 index 0000000000..e97709aec3 --- /dev/null +++ b/utils/antfs-mount/files/mount.ntfs @@ -0,0 +1,2 @@ +#!/bin/sh +mount -t antfs "$@"