Changeset 8a9837c


Ignore:
Timestamp:
06/21/13 09:18:34 (15 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
37c33e8
Parents:
9d6d999
Message:

Improve BE description at GRUB menu
Add detection for Microsoft Windows to GRUB menu

Location:
src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/grub.d
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/grub.d/10_ktrueos

    r93f0e87 r8a9837c  
    152152   do 
    153153      # Got a beadm snapshot, lets get the complete dataset name 
    154       cdataset=`${BEADM} list -a | grep "/ROOT/${b}" | awk '{print $1}'` 
     154      beLine=`${BEADM} list -a | grep "/ROOT/${b}"` 
     155      cdataset=`echo $beLine | awk '{print $1}'` 
     156      cdatadate=`echo $beLine | awk '{print $5}'` 
     157      cdatatime=`echo $beLine | awk '{print $6}'` 
    155158      ztank=`echo $cdataset | cut -d '/' -f 1` 
    156159      shortdataset="/`echo $cdataset | cut -d '/' -f 2-5`" 
     
    159162      cat << EOF 
    160163# Start TrueOS BE 
    161 menuentry "$NICK - Boot Environment ($b)" { 
     164menuentry "$NICK ($b) - $cdatadate $cdatatime" { 
    162165  insmod zfs 
    163166  search -s -l $ztank 
Note: See TracChangeset for help on using the changeset viewer.