RE: Autorun works


Subject: RE: Autorun works
From: Mike Barsalou (mbarsalou@aidea.org)
Date: Tue Jun 11 2002 - 09:54:23 AKDT


You can make the script do anything you want it to as far as I can tell.
Remember it will run as the user that you are logged in as.

Not really sure if it is RedHat specific or not. It could have to do with
autofs. Anyone else want to try and figure out what is needed on a
non-RedHat distro?

I am running Gnome here.

Mike

-----Original Message-----
From: Justin Dieters [mailto:enderak@gci.net]
Sent: Tuesday, June 11, 2002 9:46 AM
To: Mike Barsalou; aklug@aklug.org
Subject: Re: Autorun works

Interesting.. What about other distro's? Like SuSE uses /media/... instead
of /mnt/... Could you string together a couple different if statements to
cover your bases on the most likely mount points? Is this a RedHat specific
feature, or is a feature of KDE or Gnome or what?

Justin

----- Original Message -----
From: "Mike Barsalou" <mbarsalou@aidea.org>
To: <aklug@aklug.org>
Sent: Tuesday, June 11, 2002 8:39 AM
Subject: Autorun works

>
> I was able to get the autorun script for the linux side to work. For a
good
> example see the autorun file on any RedHat 7.3 CD.
>
> Here is the one that I used.
>
> #!/bin/sh
> #
>
> if [ -d /mnt/cdrom ]; then
> cd /mnt/cdrom
> ./Linux/setup
> fi
>
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Jun 11 2002 - 09:54:42 AKDT