[NTLUG:Discuss] Things to run at startup

Brian Koontz briank at hex.net
Mon Dec 13 16:48:35 CST 1999


If you're running KDE, there's a utility called ksysv that will do all this
for you (well, most of it--you do the drag and drop, it creates the links).

If you're not very particular as to when during boot time the app runs, you
can try adding it to /etc/rc.d/rc.local (or something similar on other
distros; this is for SuSE).

  --Brian

----- Original Message -----
From: George E. Lass <George.Lass at osc.com>
To: <discuss at ntlug.org>
Sent: Monday, December 13, 1999 4:20 PM
Subject: Re: [NTLUG:Discuss] Things to run at startup


> Bobby,
>
> What I have done in the past is "clone"
> one of the files in /etc/rc.d/init.d
> and then create symbolic links to it
> in /etc/rc.d/rc0.d thru rc6.d.
>
> A good starting place would be to look at
> /etc/rc.d/init.d/gpm (mouse startup/shutdown file)
>
> If you look in /etc/rc.d/rc0.d you will see a
> file called something like K15gpm which is a
> symbolic link to gpm in /etc/rc.d/init.d
>
> If you look in /etc/rc.d/rc2.d you will see a
> file called something like S85gpm which is also a
> symbolic link to gmp in /etc/rc.d/init.d
>
>
> The way this all works is as follows:
>
> During either startup or shutdown the system
> "examines" all of the files in /etc/rc.d/rc.[init-level]
> if the file starts with "K" it calls the file with a
> parameter of "stop".  If the file starts with a "S" it
> calls the file with a a parameter of "start".
>
> The reason for the number after the "S" or "K" is so
> that you can sequence the startup or shutdown proceedure.
>
>
> Hope this helps,
>
> George
>
>
> Bobby Wrenn wrote:
> >
> > What do I have to do to get a program to start when the system boots? I
> > just want sshd to start every time the system comes up.
> >
> > Every xNIX ref I have gives every option for every possible
> > configuration I might want. Problem is, I have to know the name of the
> > file I want to edit first. I know what I want to do but I cannot find
> > the name of the file I need to edit to make it happen.
> >
> > I know the answer is simple. I'm just missing part of the question.
> >
> > thanks and a hat tip,
> > bj
> >
> > _______________________________________________
> > http://ntlug.org/mailman/listinfo/discuss
>
>
> --
> ... Unix IS a user friendly O/S ...
> (It's just picky about its friends)
>
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list