update script

This commit is contained in:
iFargle 2023-12-15 20:43:39 +09:00
parent 8030189ab4
commit 9664a27c80

View file

@ -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