summaryrefslogtreecommitdiff
path: root/sys-boot/myinitramfs/files/initramfs_password
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/myinitramfs/files/initramfs_password')
-rwxr-xr-xsys-boot/myinitramfs/files/initramfs_password6
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 ' '