#!/bin/sh
# rework .gtoasterrc to deal with IDE drives and mandrakelinux cdrecord
# Sept 10, 2004 Stew Benedict <sbenedict@mandrakesoft.com>

rc_file=$HOME/.gtoasterrc

if [ -f $rc_file ]; then 
	if `grep -q ATA $rc_file > /dev/null` ; then
		echo "$rc_file already modified..."
	else
		sed -i.bak 's/\$scsiid/ATA:\$scsiid/g' $rc_file
		echo "$rc_file changed..."
	fi		
else
   	echo "No $rc_file found..."
fi

