diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-07-26 00:38:43 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-07-26 00:38:43 +0000 |
commit | 8faeae241ad009b2d835f06fca6ffedf56c70e62 (patch) | |
tree | 663c5102234f6564cfaa1fac75a817586ce9e07e | |
parent | 683725ff05737d337b595133d963047473c25b08 (diff) |
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: ----------------------------------------------------------------------
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
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 <rpe@openbsd.org> @@ -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[@]}" |