cpraveen84
Beta member
- Messages
- 1
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.
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.