From 6c70afdde3a9572ccea3b960207e3054f73996a8 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 5 Feb 2024 19:19:52 +0900 Subject: [PATCH] test --- docs/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/install.sh b/docs/install.sh index 7181f988..1f223d9b 100755 --- a/docs/install.sh +++ b/docs/install.sh @@ -77,7 +77,9 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then # If there is a keyfile for a data disk, put copy it to the root partition and # ensure the permissions are set appropriately. if [[ -f "/tmp/swap.key" ]]; then + sudo cp /tmp/swap.key /mnt/etc/swap.key sudo cp /tmp/swap.key /mnt/tmp/swap.key + sudo chmod 0400 /mnt/etc/swap.key sudo chmod 0400 /mnt/tmp/swap.key fi fi \ No newline at end of file