Files
server/usr/share/initramfs-tools/scripts/local-premount/ntfs_3g
2026-01-07 20:52:11 +01:00

18 lines
226 B
Bash
Executable File

#!/bin/sh
set -e
case "${1}" in
prereqs)
exit 0
;;
esac
if [ "${ROOTFSTYPE}" = ntfs ] || [ "${ROOTFSTYPE}" = ntfs-3g ] || \
[ "${LOOPFSTYPE}" = ntfs ] || [ "${LOOPFSTYPE}" = ntfs-3g ]
then
modprobe fuse
fi
exit 0