diff options
Diffstat (limited to 'config/chroot_local-hooks/03-ntfs3-override')
-rwxr-xr-x | config/chroot_local-hooks/03-ntfs3-override | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-ntfs3-override b/config/chroot_local-hooks/03-ntfs3-override new file mode 100755 index 0000000..2e7a3f9 --- /dev/null +++ b/config/chroot_local-hooks/03-ntfs3-override @@ -0,0 +1,10 @@ +#!/bin/sh + +for file in /root/config/*; do [ -r $file ] && . $file; done + +case "${LB_DISTRIBUTION}" in + +bookworm|trixie) + [ -e /sbin/mount.ntfs3 ] || ln -sfv $(readlink /sbin/mount.ntfs-3g) /sbin/mount.ntfs3 + ;; +esac |