/usr/share/initramfs-tools/hooks/ntfs_3g is in ntfs-3g 1:2012.1.15AR.1-1ubuntu1.
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 | #!/bin/sh
set -e
if [ -e /etc/default/ntfs-3g ]
then
. /etc/default/ntfs-3g
fi
if [ "${NTFS3G_INITRAMFS}" = "false" ]
then
exit 0
fi
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
|