summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-01-26 10:47:07 +0000
committerkrw <krw@openbsd.org>2020-01-26 10:47:07 +0000
commitece5bd762614ef08dcf5bc7986e51d47e93d9528 (patch)
tree31648eb1322a0a06d4d2d932f0759a1cb19cd8c9
parentDon't validate '-c' with S_ISREG(). The install script uses /dev/stdin. (diff)
downloadwireguard-openbsd-ece5bd762614ef08dcf5bc7986e51d47e93d9528.tar.xz
wireguard-openbsd-ece5bd762614ef08dcf5bc7986e51d47e93d9528.zip
No need to specify "initial-interval 1;" in the dhclient.conf used
during installation. This is the default value.
-rw-r--r--distrib/miniroot/install.sub3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index b86df4f2628..65ca20c753b 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1145 2019/10/19 13:14:23 tb Exp $
+# $OpenBSD: install.sub,v 1.1146 2020/01/26 10:47:07 krw Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -893,7 +893,6 @@ dhcp_request() {
if [[ -x /sbin/dhclient ]]; then
/sbin/dhclient -c /dev/stdin $_if <<__EOT
-initial-interval 1;
backoff-cutoff 2;
reboot 5;
timeout 10;