Changeset 5713500


Ignore:
Timestamp:
06/24/15 12:58:11 (6 weeks ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.2
Children:
681fbf2
Parents:
f85155c1
Message:

Redirect few warnings on initial install

File:
1 edited

Legend:

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

    r01c973b r5713500  
    133133 
    134134    # Enable the pc-sysconfig daemon 
    135     grep -q 'pcsysconfig_enable' /etc/rc.conf.pcbsd 
     135    grep -q 'pcsysconfig_enable' /etc/rc.conf.pcbsd 2>/dev/null 
    136136    if [ $? -ne 0 ]; then 
    137137       grep -q 'pcsysconfig_enable' /etc/rc.conf 
     
    172172 
    173173    # Check if we need to enable openntpd 
    174     grep -q "openntpd" /etc/rc.conf.pcbsd 
     174    grep -q "openntpd" /etc/rc.conf.pcbsd 2>/dev/null 
    175175    if [ $? -ne 0 ] ; then 
    176176       grep -q "openntpd" /etc/rc.conf 
Note: See TracChangeset for help on using the changeset viewer.