#!/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 media-scan usb recovery "Something failed during USB boot"