AW: Question on udhcpc script

Walter Harms wharms at bfs.de
Sat Feb 6 11:43:31 UTC 2021


aeh, yes ...

important question: did someone fix (and tested) this issue ?

re,
 wh
________________________________________
Von: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Gesendet: Samstag, 6. Februar 2021 11:26:42
An: busybox at busybox.net; Walter Harms; Bhattiprolu RaviKumar; busybox at busybox.net
Betreff: Re: Question on udhcpc script

On 1 February 2021 11:33:25 CET, Walter Harms <wharms at bfs.de> wrote:
>hello,
>indeed that looks wrong:
>it would be easy to invert but i have no setup to test.
>can you do that ?
>
>just change:
>  if [ -z "$(ip -6 route list | grep default)" ]; then
>into
>if ! [ -z "$(ip -6 route list | grep default)" ]; then
>
>(note the ! here)

Translates to -n
thanks,


More information about the busybox mailing list