Skip to content
Snippets Groups Projects
Commit 1140c4b1 authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

patches/barebox: fix tftp boot sequence


Second test of $? value was not always result of command
"tftp $eth0.ipaddr/wrboot wrboot", but sometimes result of first if statement
(in case first tftp was successful).

In other words, when there was file wrboot-$eth0.ethaddr on tftp server, script
was still fetching and executing wrboot.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 9aee73bf
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment