Re: Running a script at boot

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

 



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


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

  Powered by Linux