#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1179 2021/10/17 02:05:40 kn Exp $
+# $OpenBSD: install.sub,v 1.1180 2021/10/17 13:20:46 kn Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
# /mnt/etc/mygate, if it exists, contains the address(es) of my
# default gateway(s). Use for ipv4 if no interfaces configured via
- # dhcp. Use for ipv6 if no interfaces configured via autoconf.
+ # autoconf. Use for ipv6 if no interfaces configured via autoconf.
stripcom /mnt/etc/mygate |
while read _gw; do
case $_gw in
-.\" $OpenBSD: mygate.5,v 1.1 2020/11/29 20:14:06 deraadt Exp $
+.\" $OpenBSD: mygate.5,v 1.2 2021/10/17 13:20:46 kn Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 29 2020 $
+.Dd $Mdocdate: October 17 2021 $
.Dt MYGATE 5
.Os
.Sh NAME
If any
.Xr hostname.if 5
files contain
-.Dq dhcp
+.Dq inet autoconf
directives,
IPv4 entries in
.Pa /etc/mygate
will be ignored.
If they contain
-.Dq autoconf
+.Dq inet6 autoconf
directives,
IPv6 entries will be ignored.
.Pp