mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user