scripts: Prevent failure of ip assigning 38/204238/1
authorDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 18 Apr 2019 01:36:43 +0000 (10:36 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 22 Apr 2019 08:17:56 +0000 (17:17 +0900)
commit43f87fca042a7dab32a5ec8bd57b22e786491ddc
tree32c1d93a990a959db62192bbb62ab2ab5067fd3d
parent9ca062dd778ea1c997837005351f66601b1eb025
scripts: Prevent failure of ip assigning

If init script tries to assign ip before usb nic is ready, it fails and
the target is rebooted. To prevent this, tries several times for
assigning, and determine failure after exceeding maximum tries.

Change-Id: Iaa8dfbcee57985c69055e4742818f8256fba1cdd
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
scripts/flash-init.sh