CD autorun scripts for FC3 or any other new linux distros
I have a problem creating a CD autorun script for linux. I have created a sample autorun file and placed it on the CD for testing. The contents of the file are as follows :
dir=$(echo $0 |sed 's/autorun//')
exec konqueror $fullpath/default.html
But this script is not exectuted once i insert a CD into the drive. However, if i run the script from the terminal it works just fine.
I need to tackle this situation and need help.
Thank All of You.