mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 13:33:10 +00:00
e9312e19bf
Guarded linuxboot specific init entries Removed Makefile entries into separate file (conflicts with srcing /etc/config) Added CONFIG_BOOT_LOCAL/_REMOTE to control interface setup Fixed CONFIG_TPM usage
14 lines
219 B
Bash
Executable File
14 lines
219 B
Bash
Executable File
#!/bin/sh
|
|
# Boot a USB installation
|
|
|
|
. /etc/functions
|
|
. /etc/config
|
|
|
|
if [ ! -z "$CONFIG_TPM" ]; then
|
|
# Extend PCR4 as soon as possible
|
|
tpm extend -ix 4 -ic usb
|
|
fi
|
|
|
|
usb-scan
|
|
recovery "Something failed during USB boot"
|