[BusyBox] (bugs in?) (d)ash in cvs head.

Stephane Billiart stephane at reefedge.com
Mon Aug 4 08:36:36 UTC 2003


On Sun, Aug 03, 2003 at 04:00:55PM +0200, Goetz Bock wrote:
> 
> On Sun, Aug 03 '03 at 15:24, Thomas Lundquist wrote:
> > and the second issue:
> > 
> >   for interface in /proc/sys/net/ipv4/conf/*/rp_filter; do
> >      echo "1" > $interface
> >   done
> > 
> > results in:
> > 
> > cannot create /proc/sys/net/ipv4/conf/*/rp_filter: Directory nonexistent
> That too is not valid sh syntax, it's a BASHizism. no bug either.

You do not need this, just do a single
echo 1 > /proc/sys/net/ipv4/conf/default/rp_filter before configuring your
network interfaces or
echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter after they're up.

Let's keep ash small and simple.
-- 
Stéphane



More information about the busybox mailing list