Changeset 6ab95cd


Ignore:
Timestamp:
Aug 6, 2013 7:06:03 AM (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
5d83f05
Parents:
a275da91
Message:

Add warning / notice to top of /boot/loader.conf about running grub-mkconfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/xtrafiles/local/share/pcbsd/scripts/sys-init.sh

    re674d0b r6ab95cd  
    3030# Update ports overlay files 
    3131/usr/local/bin/pc-extractoverlay ports 
     32 
     33# Add our notice to top of loader.conf 
     34mv /boot/loader.conf /boot/loader.conf.tmp 
     35cat <<EOF >/boot/loader.conf 
     36# * IMPORTANT NOTICE * 
     37# Run 'grub-mkconfig -o /boot/grub/grub.cfg' after making changes to this file 
     38############################################################################### 
     39EOF 
     40cat /boot/loader.conf.tmp >> /boot/loader.conf 
     41rm /boot/loader.conf.tmp 
    3242 
    3343################################################ 
Note: See TracChangeset for help on using the changeset viewer.