diff options
author | Nikita Ignatovich | 2016-08-16 18:17:09 +0300 |
---|---|---|
committer | Nikita Ignatovich | 2016-08-16 18:17:09 +0300 |
commit | 594db74befdcf8683cb3ac0c8045a5af5af9de2a (patch) | |
tree | d1caf931f5eb591c93ba1e214bc41d21be864ba6 /veracrypt-hook-nonroot.install | |
parent | 06c49f409d61b736bafbf09360cefe6ad193151b (diff) | |
download | aur-veracrypt-hook-nonroot.tar.gz |
small fixes in new package
Diffstat (limited to 'veracrypt-hook-nonroot.install')
-rw-r--r-- | veracrypt-hook-nonroot.install | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/veracrypt-hook-nonroot.install b/veracrypt-hook-nonroot.install new file mode 100644 index 000000000000..280b97d6af2a --- /dev/null +++ b/veracrypt-hook-nonroot.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: |