[BusyBox] ifup, ifdown applets

Steven Scholz steven.scholz at imc-berlin.de
Mon Nov 18 04:14:03 UTC 2002


Glenn McGrath wrote:
> 
> Ive just commited those applets based on the debian ifupdown package.

On my machine an "ifdown -f -v eth0" results in

ifdown: Configuring interface eth0=eth0 (inet)
ifdown: cat /var/run/udhcpc.eth0.pid | xargs -i kill -TERM {}
xargs: invalid option -- i
BusyBox v0.61.pre (2002.11.17-14:39+0000) multi-call binary

Usage: xargs [COMMAND] [-prt] [ARGS...]

Executes COMMAND on every item given by standard input.

Options:
        -p      Prompt the user about whether to run each command
        -r      Do not run command for empty readed lines
        -t      Print the command line on stderr before executing it.

since busybox xargs doesn't know -i option...

BTW what happens if there is no network connection during boot, i.e udhcp fails.
Is there a way of using a default configuration? 

Thanks,

Steven



More information about the busybox mailing list