diff options
author | Karel Kočí <karel.koci@nic.cz> | 2020-02-25 17:47:58 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2020-02-25 17:52:55 +0100 |
commit | d6205d3a165e01d6c427e9160f36b51cfdc4e2b4 (patch) | |
tree | ce631e293026850429049457aecdef226310fc06 /sys-boot/myinitramfs/files/initramfs_password | |
parent | 67320a1307feada9e25a3f08e8aba7179004d85c (diff) | |
download | gentoo-personal-overlay-d6205d3a165e01d6c427e9160f36b51cfdc4e2b4.tar.gz gentoo-personal-overlay-d6205d3a165e01d6c427e9160f36b51cfdc4e2b4.tar.bz2 gentoo-personal-overlay-d6205d3a165e01d6c427e9160f36b51cfdc4e2b4.zip |
sys-boot/myinitramfs: extend to optionally autounlock
Diffstat (limited to 'sys-boot/myinitramfs/files/initramfs_password')
-rwxr-xr-x | sys-boot/myinitramfs/files/initramfs_password | 6 |
1 files changed, 6 insertions, 0 deletions
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 ' ' |