Browse Source

antfs-mount: mount script for antfs

block-mount needs "mount.ntfs" script to mount NTFS drives

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
lilik-openwrt-22.03
DENG Qingfang 4 years ago
parent
commit
047fd15b54
2 changed files with 30 additions and 0 deletions
  1. +28
    -0
      utils/antfs-mount/Makefile
  2. +2
    -0
      utils/antfs-mount/files/mount.ntfs

+ 28
- 0
utils/antfs-mount/Makefile View File

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

+ 2
- 0
utils/antfs-mount/files/mount.ntfs View File

@ -0,0 +1,2 @@
#!/bin/sh
mount -t antfs "$@"

Loading…
Cancel
Save