Re: Running a script at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/10/05, Alex F. Evonosky <alex@xxxxxxxxxxxx> wrote:
> Alex Janssen wrote:
> 
> >>>> Simple question: how do I start a script that must be run as root at
> >>> Yes.
> >>>
> >>> I don't want to be impolite, but I'd like to ask you to read the manuals
> >>> _before_ you post to this list.
> > He's right, you know.
> 
> I'll answer for you...
> 
> place the entry in /etc/rc.d/rc.local...
> 
> e.g.  you want to run the script "/root/foo.sh"
> 
> edit the /etc/rc.d/rc.local and enter:
> 
> /root/foo.sh
> 
> then save...
> 
> I do not really understand why this simple question could not be
> answered rather than using the lame RTFM...
> 

Thanks. I had gotten it settled a few days ago.

Actually, I had STFW before posting, and looked in fedoraforum and
fedorafaq. Try googleing for "startup script fedora" or something
similar, at least on the first two pages of results, this method is
not suggested. Also, on fedorafaq this is not answered. In MARC I
found a few different methods, but on SUSE lists, and I asked to be
sure that it is relevant for Fedora (which I mentioned in my original
post).

Also, when I replied to Chris, who RTFMed me very politely, I politely
responded that I had tried and found confusing and conflicting
information, and that I want to be sure before I mess with scripts
that may (as far as I don't know) afect my boot process and render my
machine unbootable!

Anyway, thanks to all who helped me. I always appreciate the patience
of the experienced that I see exercised here on the list.

Dotan Cohen
http://lyricslist.com/lyrics/artist_albums/176/eiffel_65.php 
Eiffel 65 Song Lyrics


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux