summaryrefslogtreecommitdiff
path: root/unlock
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-12-16 11:36:47 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-12-16 11:36:47 -0500
commit607e54669166783de341fd9d4ddba3c8e7c8947c (patch)
tree6b2098b43e20144cf06199c6ef0f81d3f188f5fb /unlock
parentba9b4aab3daa4acbf6a8b0cc44f882e404e9f0e4 (diff)
downloadminitramfs-607e54669166783de341fd9d4ddba3c8e7c8947c.tar.xz
minitramfs-607e54669166783de341fd9d4ddba3c8e7c8947c.zip
simplify autologin, don't use UUID
Diffstat (limited to 'unlock')
-rw-r--r--unlock2
1 files changed, 1 insertions, 1 deletions
diff --git a/unlock b/unlock
index a5aaa70..d034674 100644
--- a/unlock
+++ b/unlock
@@ -1,3 +1,3 @@
#!/bin/sh
-root=$(findfs UUID=ec8fb072-1200-4275-9494-f6f869187806) && cryptsetup open --allow-discards "$root" root && pkill cryptsetup
+cryptsetup open /dev/nvme0n1p2 root && pkill cryptsetup