[BusyBox] ifup, ifdown applets

Steven Scholz steven.scholz at imc-berlin.de
Tue Nov 19 01:15:03 UTC 2002


Glenn McGrath wrote:
> 
> On Mon, 18 Nov 2002 14:54:41 +0100
> Steven Scholz <steven.scholz at imc-berlin.de> wrote:
> 
> > I do not understand the options [ and ] .
> >
> > Would you mind explaining them to me?
> >
> > E.g.
> >
> >         if (!execute("[[ route add default gw %gateway% %iface% ]]",
> >         ifd, exec))
> > {
> >                 return(0);
> >         }
> >  in static_up().
> >
> 
> I didnt do it !
:o)
 
> It looks like they have tried to reinvent sprintf.

Hmm. I am asking since the "route add" dosn't get called on my system...

Steven



More information about the busybox mailing list