Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-08-2005, 12:15 PM   #1
LQ Newbie
Registered: Aug 2005
Location: India, Hyderabad
Posts: 2

Rep: Reputation: 0
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 :

dir=$(echo $0 |sed 's/autorun//')
cd $dir
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.
Old 09-30-2005, 10:00 AM   #2
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26

Rep: Reputation: 15
you need to edit /etc/fstab.
Change the line with the cdrom entr to exec. I am using debian so in FC3 it looks maybe different.
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto,exec 0 0

This should solve your problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
autorun in lInux mili Linux - Newbie 5 10-10-2012 05:59 AM
autorun for linux mili Linux - Newbie 4 09-24-2005 11:11 PM
Need two Linux distros to install but partition problem in FC3 anindyanuri Linux - Software 15 05-01-2005 12:17 AM
FC3: NFS Server and Startup Scripts General_Tso Fedora 13 03-20-2005 12:08 AM
Linux burnt cd doesn't autorun in windows TelemachusMPH Linux - Newbie 1 08-19-2003 06:26 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration