]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add 'netserver' command to EFI loader.
authormmel <mmel@FreeBSD.org>
Wed, 14 Oct 2020 13:13:14 +0000 (13:13 +0000)
committermmel <mmel@FreeBSD.org>
Wed, 14 Oct 2020 13:13:14 +0000 (13:13 +0000)
commite587fb9708ce81eaab8309145fe356a3be5434b1
tree337c203848dc1b869fa3414592b40d6e31e82ed3
parentfe569c9b7875c0035b006018f347b5cbff3872d4
Add 'netserver' command to EFI loader.

In some environments is difficult to access bootp/dhcp
configuration as "standard user". Add a command that allows to set
or display the URI of the network server used as "net:" device.
Currently only tftp and nfs protocols are supported.

Typical usage pattern is:
netserver tftp://192.168.168.1/path_to_obj_dir/arm.armv7/sys/GENERIC/
boot net:kernel

Reviewed by: imp, kevans
MFC after: 4 weeks
Differential Revision: https://reviews.freebsd.org/D26736
stand/efi/loader/main.c