From 7bc90cd8a202d476fbfbd1774af8604c2f8ef0c2 Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Thu, 23 May 2019 09:39:35 +0200 Subject: [PATCH] initrd: remove unused keylime-init Besides the fact that keylime-init uses a local network location for downloading something, it is unused. Remove dead code. Was is this anyways? --- initrd/etc/keylime-init | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 initrd/etc/keylime-init diff --git a/initrd/etc/keylime-init b/initrd/etc/keylime-init deleted file mode 100755 index e0974e96..00000000 --- a/initrd/etc/keylime-init +++ /dev/null @@ -1,17 +0,0 @@ -#!/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