From: kn Date: Tue, 26 Jul 2022 00:38:42 +0000 (+0000) Subject: Zap unused bridge command skipping X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8de049a7e25859b09393fbbb32c7f7021afcf546;p=openbsd Zap unused bridge command skipping netstart(8) lost bridge specific functionality in 2009. $ grep bridge /etc/netstart # interfaces (or bridges), add default routes and return. This is dead unreached code. OK deraadt CVt: ---------------------------------------------------------------------- --- diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 20717d7bfc4..06bb00daf11 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1202 2022/06/28 12:10:08 sthen Exp $ +# $OpenBSD: install.sub,v 1.1203 2022/07/26 00:38:42 kn Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -2420,8 +2420,8 @@ parse_hn_line() { _cmds[${#_cmds[*]}]="ifconfig $_if inet autoconf" V4_AUTOCONF=true ;; - '!'*|bridge) - # Skip shell commands and bridge in the installer. + '!'*) + # Skip shell commands in the installer. return ;; *) _cmds[${#_cmds[*]}]="ifconfig $_if ${_c[@]}"