diff --git a/docs/setup.sh b/docs/setup.sh index da311901..3fe56949 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -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