summarylogtreecommitdiffstats
path: root/veracrypt-hook-nonroot.install
blob: 280b97d6af2af5a9b975dcd96d97cb2bbeb4531f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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: