Merge pull request #7740 from mglae/le12_mount.ntfs

udevil: improve mount.ntfs script
This commit is contained in:
Rudi Heitbaum 2023-04-05 20:30:58 +10:00 committed by GitHub
commit dbb758d689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,7 @@ post_makeinstall_target() {
cp -PR src/udevil ${INSTALL}/usr/bin
mkdir -p ${INSTALL}/usr/sbin
echo '#!/bin/sh' > ${INSTALL}/usr/sbin/mount.ntfs
echo '/usr/sbin/modprobe ntfs3' >> ${INSTALL}/usr/sbin/mount.ntfs
echo '/usr/bin/mount "$@"' >> ${INSTALL}/usr/sbin/mount.ntfs
echo -e '#!/bin/sh\nexec /usr/bin/mount -tntfs3 "$@"' > ${INSTALL}/usr/sbin/mount.ntfs
chmod 755 ${INSTALL}/usr/sbin/mount.ntfs
}