From 701d542111f9e4219fca181b583454155895a6b4 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Wed, 16 Mar 2022 17:35:41 +0100 Subject: [PATCH] Add missing mkdir in install script --- install.sh | 1 + 1 file changed, 1 insertion(+) 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" \