> On Sunday 14 December 2003 21:47, Mihai Vlad wrote:
> > Easy question:
> >
> > Can you give me a little piece of script that checks if a custom chain
> > exists in iptables?
> if `iptables -L <chain>`
> then
> echo chain found
> fi
> 

For whatever it's worth, that command would run quicker as
'iptables -nL <chain>'

-toby
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to