Created
October 19, 2014 20:36
-
-
Save aristidb/a9484b3bbada43d600a9 to your computer and use it in GitHub Desktop.
unlocker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
rm -f /run/crypted.key | |
mkfifo -m a=w,u=rw /run/crypted.key || exit 1 | |
while ! cryptsetup open --type luks --key-file /run/crypted.key /dev/BLA decrypted | |
do | |
sleep 5 | |
echo Try again... | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment