Changeset 91953a7


Ignore:
Timestamp:
10/30/14 11:44:10 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.1
Children:
6eb9453
Parents:
c97c156
git-author:
Kris Moore <kris@…> (10/30/14 11:42:54)
git-committer:
Kris Moore <kris@…> (10/30/14 11:44:10)
Message:

Fix a bug in restamp-grub when using FDE with GELI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    rc97c156 r91953a7  
    719719     fi 
    720720 
     721     # Check encryption 
     722     zpool status | grep -q '\.eli ' 
     723     if [ $? -eq 0 ] ; then 
     724       # Check for crypto disk 
     725       cat /usr/local/etc/default/grub | grep -q "GRUB_ENABLE_CRYPTODISK" 
     726       if [ $? -ne 0 ] ; then 
     727         echo "GRUB_ENABLE_CRYPTODISK=y" >> /usr/local/etc/default/grub 
     728       fi 
     729     fi 
     730 
    721731     # Remove the .eli, if it exists 
    722732     disk=`echo $disk | sed 's|.eli||g'` 
Note: See TracChangeset for help on using the changeset viewer.