summaryrefslogtreecommitdiffstats
path: root/usr.bin/script/script.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2001-11-17 20:23:23 +0000
committerkrw <krw@openbsd.org>2001-11-17 20:23:23 +0000
commita313d0d93d1d64479ea684d7194c66a36bdfe129 (patch)
treeaabc2d7074b096c896f2e71fb60830fc3408b80d /usr.bin/script/script.c
parentsig_atomic_t can be a long, it is atomic, and fatter (diff)
downloadwireguard-openbsd-a313d0d93d1d64479ea684d7194c66a36bdfe129.tar.xz
wireguard-openbsd-a313d0d93d1d64479ea684d7194c66a36bdfe129.zip
Improve/enhance network handling during installations.
a) Allow user to enter empty FQDN and assume DHCP will supply one. b) Silently check for any DHCP supplied FQDN after network interfaces are initialized. *NOTE* DHCP information will now override any user supplied FQDN. c) Apply FQDN information to hosts file only after DHCP has had a chance to supply information. d) Don't modify hosts file if FQDN is empty. e) Don't preserve hosts file across install script restarts. f) Don't preserve hostname.* files across install script restarts. g) Don't preserve decision to use resolver during install across install script restarts. h) Don't allow DHCP to force use of resolver during install. i) Ensure DHCP created resolv.conf file is saved as /etc/resolv.conf. j) Add IPv6 localhost ('::1') line to hosts file. (Closes PR#2155) k) Make IPv4 and IPv6 localhost lines in hosts file look like 'X localhost.domain.name localhost' Bonus: install.sub on the floppy image is 51 bytes smaller. ok millert@
Diffstat (limited to 'usr.bin/script/script.c')
0 files changed, 0 insertions, 0 deletions