Question on udhcpc script
rep.dot.nop at gmail.com
Sat Feb 6 13:18:12 UTC 2021
On Sat, 6 Feb 2021 11:43:31 +0000
Walter Harms <wharms at bfs.de> wrote:
> aeh, yes ...
> important question: did someone fix (and tested) this issue ?
> 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 ?
> >just change:
> > if [ -z "$(ip -6 route list | grep default)" ]; then
> >if ! [ -z "$(ip -6 route list | grep default)" ]; then
> >(note the ! here)
> Translates to -n
Well, first i cannot find that script in the busybox tree.
Second, i suppose this should read ip -6 route list default
Third it seems to come from buildroot and current buildroot has it
fixed already, so maybe just update.
More information about the busybox