Add missing mkdir in install script
This commit is contained in:
parent
f7aebc691a
commit
701d542111
@ -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
|
sudo sed -i -e "s/PH_FRIENDLY/${mount[mapper]}/g" /etc/systemd/system/$mountfile
|
||||||
fi
|
fi
|
||||||
if [ ${mount[autolock]} -eq 1 ]; then
|
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 \
|
sudo cp $(dirname "$0")/close-vault.conf.template \
|
||||||
/etc/systemd/system/systemd-cryptsetup@${mount[mapper]}.service.d/close-vault.conf
|
/etc/systemd/system/systemd-cryptsetup@${mount[mapper]}.service.d/close-vault.conf
|
||||||
sudo sed -i -e "s/PH_MOUNTFILE/$mountfile/g" \
|
sudo sed -i -e "s/PH_MOUNTFILE/$mountfile/g" \
|
||||||
|
Loading…
Reference in New Issue
Block a user