From 3e2a756261df74282716baebb4f6d8023d941609 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 23 Sep 2023 21:56:31 +0900 Subject: [PATCH] update --- docs/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup.sh b/docs/setup.sh index 6867227d..2820a5c4 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -9,7 +9,7 @@ sleep 10 # Import and trust the GPG key echo "Setting up user GPG key..... " -drive=(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'}) +drive=$(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'}) sudo mkdir /tmp/drive sudo cryptsetup luksOpen /dev/${drive}3 usb-luks sudo mount /dev/mapper/usb-luks /tmp/drive