1#!/bin/sh 2 3# DOS/Windows 4for dev in da0s1 da0s4; do 5 if [ -e /dev/$dev ]; then 6 for fs in msdosfs ntfs; do 7 if mount -t $fs /dev/$dev /media/flash; then 8 exit 0 9 fi 10 done 11 fi 12done 13 14# UFS 15for dev in da0a; do 16 if [ -e /dev/$dev ]; then 17 mount /dev/$dev /media/flash 18 fi 19done 20 21