Fix install shim ethernet detect fail

"ip -f inet addr" shows extra message
"valid_lft forever preferred_lft forever".
So there are three lines output and cannot fit
"sed 'N;s/\n/ /'" command.
The sed command is to merge lines two by two.

we use another way to check usable ethernet.

BUG=chrome-os-partner:24903
TEST=manaully test on DUT

Change-Id: I2d5a59fdfc6cbadbe2fc2740a32455dfd5e19201
Reviewed-on: https://chromium-review.googlesource.com/181884
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Heng-ruey Hsu <henryhsu@google.com>
Tested-by: Heng-ruey Hsu <henryhsu@google.com>
1 file changed