boot1.efifat: provide a fallback startup.nsh
commita1ddc33b15c4320dd2fa95f50e07763a1a3d396d
authoremaste <emaste@FreeBSD.org>
Tue, 12 Apr 2016 20:52:28 +0000 (12 20:52 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 12 Apr 2016 20:52:28 +0000 (12 20:52 +0000)
tree18a0655117a6db9296796f4cdc6b8d210bb521dc
parentc78bfcfb8f824930b3780c411e7a2031bd719c33
boot1.efifat: provide a fallback startup.nsh

In case the firmware falls through to executing startup.sh, populate it
with the name of our boot loader. In normal operation this should not be
necessary but may allow the system to boot if it would otherwise just
remain at a shell prompt.

Reviewed by: andrew, imp, smh
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5878
sys/boot/efi/boot1/generate-fat.sh