Changeset 13736 in hybrid for branches/releng-11


Ignore:
Timestamp:
Jan 18, 2017, 10:51:21 PM (8 years ago)
Author:
rick
Message:

All configuration files should be ... configuration files.

Configuration files live at /cfg or memory based filesystems, no need to mount
the root filesystems.

Added bonus; no more waiting 30 seconds for mount going to read-only anymore.

Location:
branches/releng-11/nanobsd/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/etc/rc.conf

    r13702 r13736  
    7979local_unbound_enable="NO"
    8080unbound_enable="NO"
     81unbound_anchorflags="-f /etc/resolv.conf"
    8182
    8283# Explicitly disable the memory-hungry alternatives
  • branches/releng-11/nanobsd/files/tools/wl-config

    r13725 r13736  
    244244  # Clear out tempdir when done
    245245  if [ ${OPT_MOUNT} -eq 1 ]; then
    246         trap "rm -Rf ${TMPDIR}; umount /cfg; mount -ro noatime /; exit" 0 1 2 3 15
     246        trap "rm -Rf ${TMPDIR}; umount /cfg; exit" 0 1 2 3 15
    247247  else
    248248        trap "rm -Rf ${TMPDIR}; exit" 0 1 2 3 15
     
    252252  # Mount if requested
    253253  if [ ${OPT_MOUNT} -eq 1 ]; then
    254         mount -uwo noatime /
    255254        mount /cfg
    256255  fi
Note: See TracChangeset for help on using the changeset viewer.