3 # keeps trying to mount the cd on a mac mini to overcome
4 # a new bug in itunes seen as of osx leopard upgrade.
6 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
8 mountpoint=/Volumes/mounty_cd
10 echo "$(date_stringer): starting cd mounter..."
13 if [ ! -d $mountpoint ]; then
17 found_device=$(mount|grep -i cddafs)
18 if [ -z "$found_device" ]; then
19 echo "$(date_stringer): cd not mounted--pausing before attempt..."
21 echo "$(date_stringer): cd not mounted--now trying to mount..."
22 mount -t cddafs /dev/disk1 $mountpoint
24 echo "$(date_stringer): cd already mounted--ignoring it."