From 6d670c93a5cac22f6ae14e40aeef5d9809a71a36 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Wed, 16 Mar 2022 17:23:38 +0100 Subject: [PATCH] Fix typo in install script --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 35afb5f..9a04391 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ for mount in $mounts; do else sudo sed -i -e "s/PH_FRIENDLY/${mount[mapper]}/g" /etc/systemd/system/$mountfile fi - if [ ${mount[autlock]} -eq 1 ]; then + if [ ${mount[autolock]} -eq 1 ]; then sudo cp $(dirname "$0")/close-vault.conf.template \ /etc/systemd/system/systemd-cryptsetup@${mount[mapper]}.service.d/close-vault.conf sudo sed -i -e "s/PH_MOUNTFILE/$mountfile/g" \