From 9664a27c804da08b091f7bcc05a6e2249be21781 Mon Sep 17 00:00:00 2001 From: iFargle <albert@sysctl.io> Date: Fri, 15 Dec 2023 20:43:39 +0900 Subject: [PATCH] update script --- docs/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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