uboot: Honor static network settings

If the user has manually configured all required network parameters,
honor that setup, by skipping DHCP, and directly fetch the image.
This commit is contained in:
Tobias Waldekranz
2024-10-01 09:53:37 +02:00
parent e3e6477d47
commit 69b93507a9
+1 -1
View File
@@ -1,6 +1,6 @@
setenv autoload no
if dhcp; then
if test -n "${ipaddr}" -a -n "${netmask}" -a -n "${serverip}" -a -n "${bootfile}" || dhcp; then
setenv proto tftp
setenv dltool tftpboot