Update script

This commit is contained in:
iFargle 2023-12-15 20:51:57 +09:00
parent 97a6a13cb6
commit 8872d3394d

View file

@ -11,7 +11,6 @@ source ~/.bashrc
# Import and trust the GPG key
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 -p /tmp/drive
sudo cryptsetup luksOpen /dev/${drive}3 usb-luks
sudo mount /dev/mapper/usb-luks /tmp/drive