examples/udhcp/simple.script: add possibility to use modern "ip"
authorJiří Prchal <jiri.prchal@aksignal.cz>
Thu, 4 Oct 2018 07:02:27 +0000 (09:02 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 30 Oct 2018 11:05:03 +0000 (12:05 +0100)
commit47839ae6797bcded0178893cb950d2e2f8be1f6f
tree9bb64f377d0c9d2be3b2bc1fe2b2e6357ed579e7
parentc05aa6a776ab2420a42c041a3b5d45db587fd9ef
examples/udhcp/simple.script: add possibility to use modern "ip"

Script uses "ifconfig" only, not up-to-date so much.
This patch adds "ip" in condition if exists.

Signed-off-by: Jiří Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
examples/udhcp/simple.script