Re: how to make it auto start?
- From: birre <spamtrap@xxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 12:47:25 +0200
On 2006-04-21 13:01, Ertugrul Soeylemez wrote:
birre <spamtrap@xxxxxxxxxxxx> (06-04-21 12:27:46):
i am using Fedoracore, if i want the OS to run a programThe kernel start a process called init (PID 1)
automatically, after the OS was started.
what should i do?
[...]
init is the life in your system, so if you start there, you understand
it all in only a few years :-)
Unfortunately, this doesn't answer Nick's question in any way, because
distributions bring their own higher level mechanisms to start processes
at boot time, while 'init' is at the system level. This would be like
connecting certain wires to turn on the TV instead of just using the
remote.
Check out the Fedora Core documentation for how to run services, if
that's what you meant. However, if you just mean to start some program
when you login into your desktop, then you'll find facilities to do that
in your desktop package (KDE, Gnome, or whatever). In that case, just
look through your configuration utility. You'll find it somewhere.
Regards.
They all start with /etc/inittab , and from there you can see what every
distributions do, and what other rc files they source.
So "start with /etc/inittab , man init" is the generic answer that apply
to ALL distributions.
Ok, someone can just say a file, for example boot.local , but we don't know what the OP intended to start. (but it was "after the OS", so boot.local can be to early, and when logged in, it can be to late)
The only way to understand it is to follow it from the start (/etc/inittab)
Just read the rc script started by inittab, then read the scripts started by rc, and then you find lots of rc files starting services
in a logical structure.
Most of the files are targets for replacement when you patch, so they may source a local version if exist, where you can add your local changes without losing it when doing update.
But all this is clear once you read the scripts.
/birre
.
- Follow-Ups:
- Re: how to make it auto start?
- From: Ertugrul Soeylemez
- Re: how to make it auto start?
- References:
- how to make it auto start?
- From: Nick
- Re: how to make it auto start?
- From: birre
- Re: how to make it auto start?
- From: Ertugrul Soeylemez
- how to make it auto start?
- Prev by Date: Where do find the menus in Unix
- Next by Date: Re: how to make it auto start?
- Previous by thread: Re: how to make it auto start?
- Next by thread: Re: how to make it auto start?
- Index(es):
Relevant Pages
|