2009-06-18 12:42:34 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-09-02 12:45:03 +00:00
|
|
|
# This is a hook for live-build(7) to enable automaunting with hal for block devices.
|
2009-06-18 12:42:34 +00:00
|
|
|
#
|
|
|
|
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
|
|
|
# directory.
|
|
|
|
|
|
|
|
# Remove automount disabling
|
|
|
|
rm -f /usr/share/hal/fdi/policy/10osvendor/debian-storage-policy-fixed-drives.fdi
|
|
|
|
|
|
|
|
# Use ntfs-3g by default to mount ntfs partitions
|
|
|
|
if [ -x /usr/bin/ntfs-3g ]
|
|
|
|
then
|
2009-06-30 16:32:58 +00:00
|
|
|
rm -f /sbin/mount.ntfs
|
2009-06-18 12:42:34 +00:00
|
|
|
ln -s /usr/bin/ntfs-3g /sbin/mount.ntfs
|
|
|
|
fi
|