1 2 3 4 5 6
#!/bin/sh if (cat /proc/filesystems|grep exfat>/dev/null) ; then mount -i -t exfat "$@" else mount.exfat-fuse "$@" fi