mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 09:48:56 +00:00
18 lines
340 B
Plaintext
18 lines
340 B
Plaintext
|
#!/bin/sh
|
||
|
# Bring up the x230's NIC, get a DHCP address and invoke keylime
|
||
|
|
||
|
insmod /lib/modules/e1000e.ko
|
||
|
udhcpc -n
|
||
|
|
||
|
cd /
|
||
|
wget-measure.sh 6 http://192.168.1.5/keylime.tar.gz
|
||
|
tar xf keylime.tar.gz
|
||
|
|
||
|
if [ ! -x /keylime-node ]; then
|
||
|
echo '!!!! Keylime overlay not found?'
|
||
|
tpm extend -ix 4 -ic "recovery"
|
||
|
exec /bin/ash
|
||
|
fi
|
||
|
|
||
|
exec /keylime-node
|