mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 17:22:53 +00:00
14 lines
226 B
Bash
Executable File
14 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
# Boot a USB installation
|
|
|
|
. /etc/functions
|
|
. /tmp/config
|
|
|
|
if [ "$CONFIG_TPM" = "y" ]; then
|
|
# Extend PCR4 as soon as possible
|
|
tpm extend -ix 4 -ic usb
|
|
fi
|
|
|
|
media-scan usb
|
|
recovery "Something failed during USB boot"
|