From d6205d3a165e01d6c427e9160f36b51cfdc4e2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 25 Feb 2020 17:47:58 +0100 Subject: sys-boot/myinitramfs: extend to optionally autounlock --- sys-boot/myinitramfs/files/initramfs_password | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 sys-boot/myinitramfs/files/initramfs_password (limited to 'sys-boot/myinitramfs/files/initramfs_password') diff --git a/sys-boot/myinitramfs/files/initramfs_password b/sys-boot/myinitramfs/files/initramfs_password new file mode 100755 index 0000000..8ad64bb --- /dev/null +++ b/sys-boot/myinitramfs/files/initramfs_password @@ -0,0 +1,6 @@ +#!/bin/sh +{ + dmidecode -s system-uuid + dmidecode -s baseboard-serial-number + dmidecode -s processor-version +} | sha512sum | cut -f1 -d ' ' -- cgit v1.2.3