1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00

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: ----------------------------------------------------------------------
This commit is contained in:
kn 2022-07-26 00:38:42 +00:00
parent 4e620d6ae3
commit 8de049a7e2

View File

@ -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[@]}"