summarylogtreecommitdiffstats
path: root/dongle-unlock.install
diff options
context:
space:
mode:
Diffstat (limited to 'dongle-unlock.install')
-rw-r--r--dongle-unlock.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/dongle-unlock.install b/dongle-unlock.install
new file mode 100644
index 000000000000..143993da6b51
--- /dev/null
+++ b/dongle-unlock.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo "===> you need to enable /etc/systemd/system/manolo.luksopenwithkey.service and /etc/systemd/system/manolo.luksopenwithoutkey.service with systemctl"
+ echo "===> you need to configure /etc/systemd/system/mnt-dongle.mount and /etc/systemd/system/mnt-daten.mount:"
+ echo "===> mnt-dongle.mount uses the filesystem uuid of the thumbdrive and mnt-daten.mount opens the specified device with a keyfile in the mounted path (etc/fstab) (add more ExecStart lines for more devices)"
+ echo "===> the naming of mnt-dongle.mount and mnt-daten.mount depends on the mountpoints in /etc/fstab. rename the *.mount-files as needed"
+ echo "===> comment lines in /etc/crypttab which would access the same devices to avoid conflicts with cryptsetup@DEVICE.service (device is busy failure)"
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ echo "===> remove unneeded symlinks of services, optional: uncomment lines in /etc/crypttab"
+}
+