/usr/share/initramfs-tools/hooks/ntfs_3g is in ntfs-3g 1:2013.1.13AR.1-2ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #!/bin/sh
set -e
if [ -e /etc/default/ntfs-3g ]
then
. /etc/default/ntfs-3g
fi
case "${NTFS3G_INITRAMFS}" in
false)
exit 0
;;
esac
PREREQ="fuse"
prereqs () {
echo "${PREREQ}"
}
case "${1}" in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
copy_exec /bin/ntfs-3g /bin
ln -s /bin/ntfs-3g "${DESTDIR}/sbin/mount.ntfs-3g"
ln -s /bin/ntfs-3g "${DESTDIR}/sbin/mount.ntfs"
exit 0
|