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" \