Fix typo in install script

This commit is contained in:
Alexandre CATTEAU 2022-03-16 17:23:38 +01:00
parent f46c60ac84
commit 6d670c93a5

View File

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