On 21.8.2018 15:00, Sedat Dilek wrote:
On Tue, Aug 21, 2018 at 1:56 PM, Jiri Prchal <[email protected]> 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 $interfaceMissing a space between $ip and $NETMASK ?
No, it's ip syntax, addr/mask, / is in $NETMASK if $subnet exists: [ -n "$subnet" ] && NETMASK="/$subnet"
- Sedat -
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
