From: rpe Date: Tue, 25 Apr 2017 19:17:33 +0000 (+0000) Subject: Unbreak netstart for multiple inteface configurations like trunk X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=79699d09b95dc86fc15a4e9710cda512ee1e418a;p=openbsd Unbreak netstart for multiple inteface configurations like trunk or carp. Ensure that the noglob option is disabled at the end of parse_hn_line() and ifstart(). Reported by Christer Solskogen and Stefan Wollny, thanks! --- diff --git a/etc/netstart b/etc/netstart index 7c1d8ea5114..4a5eeaaba00 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.177 2017/04/24 20:31:48 rpe Exp $ +# $OpenBSD: netstart,v 1.178 2017/04/25 19:17:33 rpe Exp $ # Turn off Strict Bourne shell mode. set +o sh @@ -76,6 +76,7 @@ parse_hn_line() { ;; esac unset _c + set +o noglob } # Start a single interface. @@ -124,6 +125,7 @@ ifstart() { ((_i++)) done unset _cmds + set +o noglob } # Start multiple interfaces by driver name.