View Single Post
Old 08-08-2005, 01:16 PM   #1 (permalink)
cpraveen84
 
Newb Techie

Join Date: Aug 2005

Posts: 1

cpraveen84

Default CD autorun scripts for FC3 or any other new linux distros

Hello group,

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 :

#!/bin/sh
dir=$(echo $0 |sed 's/autorun//')
cd $dir
fullpath=$(pwd)
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.
cpraveen84 is offline