summarylogtreecommitdiffstats
path: root/veracrypt-hook.install
diff options
context:
space:
mode:
Diffstat (limited to 'veracrypt-hook.install')
-rw-r--r--veracrypt-hook.install28
1 files changed, 28 insertions, 0 deletions
diff --git a/veracrypt-hook.install b/veracrypt-hook.install
new file mode 100644
index 000000000000..280b97d6af2a
--- /dev/null
+++ b/veracrypt-hook.install
@@ -0,0 +1,28 @@
+post_install()
+{
+ echo "To use this hook for veracrypt add hook veracrypt "
+ echo "to the mkinitcpio hooks in /etc/mkinitcpio.conf then"
+ echo "add vcdevice=<device>:<slotnum> to your kernel boot command line args"
+ echo "if you use grub check /boot/grub/menu.lst of /boot/grub/grub.cfg"
+ echo "The root device of a veracrypt encrypted device will be /dev/mapper/veracrypt<slotnum>"
+ echo "where as you may have guessed <slotnum> is the number given in vcdevice=<device>:<slotnum>"
+ echo "this works similar to how cryptluks works"
+}
+
+post_upgrade()
+{
+ echo "To use this hook for veracrypt add hook veracrypt "
+ echo "to the mkinitcpio hooks in /etc/mkinitcpio.conf then"
+ echo "add vcdevice=<device>:<slotnum> to your kernel boot command line args"
+ echo "if you use grub check /boot/grub/menu.lst of /boot/grub/grub.cfg"
+ echo "The root device of a veracrypt encrypted device will be /dev/mapper/veracrypt<slotnum>"
+ echo "where as you may have guessed <slotnum> is the number given in vcdevice=<device>:<slotnum>"
+ echo "this works similar to how cryptluks works"
+}
+
+post_remove()
+{
+ echo "remember to remove veracrypt from your mkinitcpio hooks array if you added it"
+}
+
+# vim:set ts=2 sw=2 et: