2020-06-04 17:50:20 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-06-06 10:24:08 +00:00
|
|
|
systemd-ask-password --echo "encfs password:" | encfs <%= @encrypted_directory %> <%= @mount_directory %> --public --stdinpass
|
2020-06-08 15:01:24 +00:00
|
|
|
/bin/chmod go+rx <%= @mount_directory %>
|
2020-06-07 10:45:33 +00:00
|
|
|
echo "Encrypted data directory mounted as <%= @mount_directory %>" > /tmp/data-dir-mounted.txt
|