summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2021-01-30 18:21:07 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2021-01-30 18:21:07 +0000
commita9ba2437c40690a555b86b6cea25de5df25b808c (patch)
tree261b335fb5cd6e3a7dedf269fd6bdedaa687008e /distrib
parent3be90840a39985a450e532f778578b327fafb741 (diff)
Add dhclient.conf back to list of "installed network configuration
files during upgrade". Mistakenly removed during dhclient.conf cleanup of r1.1050.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index b846ac5adf0..4bef00617cc 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1160 2020/12/23 17:22:07 krw Exp $
+# $OpenBSD: install.sub,v 1.1161 2021/01/30 18:21:06 krw Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -2437,7 +2437,7 @@ enable_network() {
local _f _gw _v4set=false _v6set=false _hn _if _trunks _svlans _vlans
# Use installed network configuration files during upgrade.
- for _f in resolv.conf resolv.conf.tail; do
+ for _f in dhclient.conf resolv.conf resolv.conf.tail; do
if [[ -f /mnt/etc/$_f ]]; then
cp /mnt/etc/$_f /etc/$_f
fi