LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-23-2003, 11:55 PM   #1
kulkarni08
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Autorun.sh script to mount CD and run .bin file


Hi,
I am a newbie to Linux platform and shell scripting. I am looking for a autorun.sh script which should mount a CDROM and then run a setup.bin script located inside a folder - /linux/setup.bin .
I want to include this autorun.sh script on my CDROM. Can anyone help ?
Thanks
Kulkarni
 
Old 06-24-2003, 08:05 AM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Re: Autorun.sh script to mount CD and run .bin file

Quote:
Originally posted by kulkarni08
Hi,
I am a newbie to Linux platform and shell scripting. I am looking for a autorun.sh script which should mount a CDROM and then run a setup.bin script located inside a folder - /linux/setup.bin .
I want to include this autorun.sh script on my CDROM. Can anyone help ?
Thanks
Kulkarni
You can certainly create such a scipt, but you cannot make it "auto run." That property is a function of the computer mounting the CD. The target machine, for example, would have to be set to auto-mount the CD, and then check for the auto run script. Both KDE and GNOME, among several, can enable software to do this "auto mount and run (or play music or whatever); but most of the linux users in my linux group turn this functionality off.

Cheers--
Charles
 
Old 06-24-2003, 01:01 PM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
Take a look at the userspace daemon autorun:
http://autorun.sourceforge.net/
It may be what you want.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount .bin file easyE Linux - General 4 05-04-2005 11:13 PM
How to run a .bin file? gschrade Linux - Newbie 3 11-10-2003 11:15 PM
How do you run a .BIN file? M4A1Carbine Linux - Newbie 3 10-22-2003 05:50 PM
can't run file .bin, please help lomaree Linux - Software 24 05-29-2003 05:26 PM
how to run a shell script which suffix is .bin??? yunxiang Linux - Software 2 05-05-2003 10:24 PM


All times are GMT -5. The time now is 10:09 PM.

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