update script
This commit is contained in:
parent
8030189ab4
commit
9664a27c80
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ source ~/.bashrc
|
|||
echo ">>> Setting up user GPG key..... "
|
||||
drive=$(lsblk -o serial,name | grep NGN130R000980P2202 | awk {'print $2'})
|
||||
# drive=$(lsblk -o serial,name | grep 012345679518 | awk {'print $2'})
|
||||
sudo mkdir /tmp/drive
|
||||
sudo mkdir -p /tmp/drive
|
||||
sudo cryptsetup luksOpen /dev/${drive}3 usb-luks
|
||||
sudo mount /dev/mapper/usb-luks /tmp/drive
|
||||
gpg --import /tmp/drive/gpg/albert@sysctl.io/privkey.asc
|
||||
|
|
Loading…
Reference in a new issue