diff --git a/install.sh b/install.sh index 8bbe63b..8154cbd 100755 --- a/install.sh +++ b/install.sh @@ -17,6 +17,7 @@ for f in $(dirname "$0")/mounts.conf.d/*.conf; do sudo sed -i -e "s/PH_FRIENDLY/${mount[mapper]}/g" /etc/systemd/system/$mountfile fi if [ ${mount[autolock]} -eq 1 ]; then + sudo mkdir /etc/systemd/system/systemd-cryptsetup@${mount[mapper]}.service.d 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" \