Ignore:
Timestamp:
Sep 3, 2013 2:04:04 PM (10 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
9c1ae91, d47ba25
Parents:
7d94108
Message:

We don't need to keep changing /boot/defaults/loader.conf after extracting the overlay,
those files are setup in GRUB now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-extractoverlay/pc-extractoverlay

    r2ee61e0 r04630fb  
    106106  fi 
    107107 
    108   # Make sure loader.conf.pcbsd is enabled 
    109   grep -q 'loader.conf.pcbsd' /boot/defaults/loader.conf 
    110   if [ $? -ne 0 ] ; then 
    111     # Setup /boot/defaults/loader.conf 
    112     sed -i '' 's|/boot/loader.conf /boot/loader.conf.local|/boot/loader.conf.pcbsd /boot/loader.conf /boot/loader.conf.local|g' /boot/defaults/loader.conf 2>/dev/null 
    113     grep -q "loader.conf.pcbsd" /boot/defaults/loader.conf 
    114     if [ $? -ne 0 ] ; then 
    115       echo "WARNING: loader.conf.pcbsd not enabled in /boot/defaults/loader.conf" 
    116       status="1" 
    117     fi 
    118   fi 
    119  
    120108  # See if we need to adjust pkg.conf 
    121109  grep -q "ARCH" /usr/local/etc/pkg.conf 
Note: See TracChangeset for help on using the changeset viewer.