1
0

ntfs3g.init 257 B

12345678910111213
  1. #!/bin/sh
  2. #INIT 20
  3. [[ $1 = autostart ]] || exit 0
  4. # mount ntfs-3g filesystems
  5. grep fuse /proc/filesystems >/dev/null 2>&1
  6. if [ $? -eq 0 ];then
  7. grep -v "^#" /etc/fstab |grep ntfs-3g >/dev/null 2>&1
  8. if [ $? -eq 0 ];then
  9. mount -a -t ntfs-3g
  10. fi
  11. fi
  12. exit 0