Add luks support

This commit is contained in:
MatMoul 2015-08-22 22:35:31 +02:00
parent 0998b342e9
commit 2bca74c0e2
2 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,6 @@
Current Version : Partition :
----------------- - Add luks support
Version : 2015.08.22.00.34.13 : Version : 2015.08.22.00.34.13 :
------------------------------- -------------------------------

4
archfi
View file

@ -907,13 +907,13 @@ archgenfstab(){
} }
archgencryptotab(){ archgencryptotab(){
#learn archgenfstab #learn archgencryptotab
clear clear
echo -e "$crypttab" >> /mnt/etc/crypttab echo -e "$crypttab" >> /mnt/etc/crypttab
} }
archgenmkinitcpio(){ archgenmkinitcpio(){
#learn archgenfstab #learn archgenmkinitcpio
clear clear
sed -i "s/block filesystems/block encrypt filesystems/g" /mnt/etc/mkinitcpio.conf sed -i "s/block filesystems/block encrypt filesystems/g" /mnt/etc/mkinitcpio.conf
archchroot genmkinitcpio archchroot genmkinitcpio