mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
16 lines
272 B
Bash
Executable File
16 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
# Boot a USB installation
|
|
|
|
. /etc/functions
|
|
. /tmp/config
|
|
|
|
TRACE "Under /bin/usb-init"
|
|
|
|
if [ "$CONFIG_TPM" = "y" ]; then
|
|
# Extend PCR4 as soon as possible
|
|
tpmr extend -ix 4 -ic usb
|
|
fi
|
|
|
|
DO_WITH_DEBUG media-scan usb
|
|
recovery "Something failed during USB boot"
|