update
This commit is contained in:
parent
257f6c6499
commit
3e2a756261
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ sleep 10
|
||||||
|
|
||||||
# Import and trust the GPG key
|
# Import and trust the GPG key
|
||||||
echo "Setting up user GPG key..... "
|
echo "Setting up user GPG key..... "
|
||||||
drive=(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'})
|
drive=$(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'})
|
||||||
sudo mkdir /tmp/drive
|
sudo mkdir /tmp/drive
|
||||||
sudo cryptsetup luksOpen /dev/${drive}3 usb-luks
|
sudo cryptsetup luksOpen /dev/${drive}3 usb-luks
|
||||||
sudo mount /dev/mapper/usb-luks /tmp/drive
|
sudo mount /dev/mapper/usb-luks /tmp/drive
|
||||||
|
|
Loading…
Reference in a new issue