Question on udhcpc script

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Feb 6 10:26:42 UTC 2021


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