Add missing mkdir in install script

This commit is contained in:
Alexandre CATTEAU 2022-03-16 17:35:41 +01:00
parent f7aebc691a
commit 701d542111

View File

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