heads/initrd/bin/usb-init

12 lines
182 B
Bash
Executable File

#!/bin/sh
# Boot a USB installation
. /etc/functions
. /etc/config
# Extend PCR4 as soon as possible
tpm extend -ix 4 -ic usb
usb-scan
recovery "Something failed during USB boot"