At 10:28 AM 11/9/1999 -0500, you wrote:
>
>Ok, I admit it, I'm a lightweight when it comes to Linux.  :)
>
>I have portsentry compiled and running on my linux box here at work.  I'd
like to get it to 
>start automatically when the system boots.  and I realized i don't have
the slightest idea 
>as to how to do that. 
>
>is there somebody out there that can point me in the right direction?
i've tried man for 
>rc.d etc.  but that isn't helping. 
>
>thanks chris
>
>
Hi Chris,
        The easy way to do it is to add it to /etc/rc.local.  It will
start when ever you boot the system.  A better way to do it is to
create a control script similer to the ones in /etc/rc.d/init.d to
start and stop the program, and then add links in /etc/rc.d/rc3.d and
/etc/rc.d/rc5.d to start it, and in /etc/rc.d/rc0.d, rc1.d, rc2.d,
and rc6.d to stop it.  (You only want portsentry running when you have
the network up, right?)  You could also edit /etc/rc.d/init.d/network
to start it right after the network starts, and stop it just before
the network stops...

Mikkel

---
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to