[PATCH] add possibility to use modern "ip"

Sedat Dilek sedat.dilek at gmail.com
Tue Aug 21 13:00:52 UTC 2018


On Tue, Aug 21, 2018 at 1:56 PM, Jiri Prchal <jiri.prchal at aksignal.cz> wrote:
[ ... ]
     renew|bound)
>                 echo "Setting IP address $ip on $interface"
> -               ifconfig $interface $ip $NETMASK $BROADCAST
> +               if [ -x /sbin/ip ]; then
> +                       ip addr add $ip$NETMASK $BROADCAST dev $interface

Missing a space between $ip and $NETMASK ?

- Sedat -


More information about the busybox mailing list