AW: Question on udhcpc script
wharms at bfs.de
Sat Feb 6 11:43:31 UTC 2021
aeh, yes ...
important question: did someone fix (and tested) this issue ?
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:
>indeed that looks wrong:
>it would be easy to invert but i have no setup to test.
>can you do that ?
> if [ -z "$(ip -6 route list | grep default)" ]; then
>if ! [ -z "$(ip -6 route list | grep default)" ]; then
>(note the ! here)
Translates to -n
More information about the busybox