Compare commits
No commits in common. "8531bd3ffb00945db589226632ca7925adaf22f3" and "f7aebc691a8de02e107783c9644acd0aa594b22f" have entirely different histories.
8531bd3ffb
...
f7aebc691a
@ -15,9 +15,8 @@ The install script then generates a Systemd mount file for each mount, with the
|
||||
* `template.mount` is a template for Systemd mount units.
|
||||
* `close-vault.conf.template` is a Systemd drop-in template, for auto-locking.
|
||||
#### Installation
|
||||
* `mounts.conf.template` contains a mount definition example, and should be copied locally in `mounts.conf.d`
|
||||
as `<something>.conf`, for each of your mounts.
|
||||
* `install.sh` script copies Systemd templates to their destination, depending on your definitions in `mounts.conf.d`.
|
||||
* `mounts.conf.template` contains a mount definition example, and should be copied locally to `mounts.conf`
|
||||
(with your own mounts definitions).
|
||||
* `install.sh` script copies Systemd templates to their destination, depending on your definitions in `mounts.conf`.
|
||||
|
||||
### TODO
|
||||
* Nothing
|
||||
|
@ -17,7 +17,6 @@ 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" \
|
||||
|
Loading…
Reference in New Issue
Block a user