Changeset 10601 in hybrid for branches


Ignore:
Timestamp:
Apr 26, 2012, 7:38:52 PM (13 years ago)
Author:
rick
Message:

This beauty is part of the r10599 idea and implementation.

File:
1 edited

Legend:

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

    r10596 r10601  
     1# Stolen from /sbin/dhclient-script using using no /usr based binaries.
     2# Converts an commented list into a SEP (default space) seperated list.
     3make_list() {
     4  SEP=${2:-' '}
     5  oldifs="$IFS"
     6  IFS="
     7"
     8  list=""
     9  for line in $1; do
     10    line=${line%%[ \t#]*}
     11    [ -n "$line" ] && list="$list$SEP$line"
     12  done
     13  IFS=${oldifs}
     14  echo ${list##$SEP}
     15}
     16
    117# No kernel dumps as we don't have a place to store them
    218dumpdev="NO"                   
     
    7187#pf_flags="-D ext_if=vr0 -D captive_portal_interfaces=wlan0 -D publicnat=80,443"
    7288
     89
    7390# Autogenerated flags are used during runtime
    7491rc_conf_running='/etc/rc.conf.running'
Note: See TracChangeset for help on using the changeset viewer.