[CLUE-Tech] Where to put SuSe Portsentry scripts?

Brandon N bneill at yahoo.com
Sun Apr 1 18:33:24 MDT 2001


You can put it in boot.local, but doesn't SuSE use sysV init scripts?

it's best to create a script just for this app in /etc/rc.d/init.d/
ie.
/etc/rc.d/init.d/portsentry
that will then be linked from /etc/rc.d/rc2.d/S99portsentry 

then you can just use start|stop options if you want to turn it off
while the system is running.

There is an example at
http://www.linuxfromscratch.org/view/intel-2.4.4/ch07-template.html

keep in mind that exact example won't work for you, I think SuSE has
it's own functions, just look at some of the other scripts in
/etc/rc.d/init.d

Brandon

--- Kevin Cullis <kevincu at orci.com> wrote:
> Match Grun wrote:
> > 
> > Kevin,
> > 
> > Yes. That would work. boot.local is provided for that purpose...
> > to perform one time stuff at startup.
> > 
> > Match
> > 
> > Kevin Cullis wrote:
> > >
> > > Hey Lynn,
> > >
> > > I'd like to write a script for Portsentry and put it into my
> startup
> > > process, would I put it into the /etc/rc.d/boot.local file?
> > >
> > > Basically I want Portsentry to restart automatically if I reboot
> my box.
> > >
> > > Kevin
> 
> Match,
> 
> Cool, now it's to figure out how to write it. Thanks Match.
> 
> Kevin
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



More information about the clue-tech mailing list