Running a script at boot

Alex F. Evonosky alex at alexevon.org
Wed Aug 10 01:01:21 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC+VHhs+bFULzqkMQRAiNWAJ9A6jHMEmm1n6KrxytZwdwkjGgaKQCeP3in
GfDA5P92YJzjMxyqo2MJjT0=
=6E5w
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list