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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.