Re: Default Policy = DROP. Help-me
On Thu, Oct 25, 2007 at 02:10:43PM +0200, Ansgar -59cobalt- Wiechers wrote:
> > $iptables -t mangle -P POSTROUTING ACCEPT &&\
> > echo "Policing .......................................... [ OK ]" || {
> > echo "Something broke in 'Policing'!"
> > exit 1
> > }
>
> You don't want to do that, because the term in curled braces is executed
> when *any* of the previous commands fails (including the echo). Better
> use something like this:
well, if 'echo' fails, you're really in troubles and need to fix something
else before running the fw.
--
paolo
Reply to: