Question on udhcpc script
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:
>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