mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
udevil: improve mount.ntfs script
Explicit mount ntfs3 fs. Avoid log spam by performing automatic mount over all file systems. Explicit Ntfs3 module load can be dropped.
This commit is contained in:
parent
a09d471083
commit
0adb582098
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user