Changeset 13725 in hybrid for branches/releng-11/nanobsd


Ignore:
Timestamp:
Jan 18, 2017, 1:05:54 AM (8 years ago)
Author:
rick
Message:

Wrong resolv.conf leaves other files dangling, causing cascading failure.

Config files are downloaded in order, since resolv.conf should be downloaded
last, as the system will use this file to download for example the unbound
setup. Without either of them there is no working system possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/tools/wl-config

    r13697 r13725  
    3535CONFIG=`hostname -s`
    3636
    37 # Determine it's statup and running location and some other hints
    38 # Skip named.conf as it not planned in current release
    39 FILES="authorized_keys dhcpd.conf dnsmasq.conf motd rc.conf.local resolv.conf pf.hybrid.conf.local unbound.wleiden.conf wleiden.yaml"
     37# Determine it's statup and running location and some other hints
     38# Ordering is important! resolv.conf is fetched as last file, as it could
     39# potentially break the downloading of other files.
     40FILES="authorized_keys dhcpd.conf dnsmasq.conf motd rc.conf.local pf.hybrid.conf.local unbound.wleiden.conf wleiden.yaml resolv.conf"
    4041file_details() {
    4142  POST_CMD=""
Note: See TracChangeset for help on using the changeset viewer.