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