From 79699d09b95dc86fc15a4e9710cda512ee1e418a Mon Sep 17 00:00:00 2001 From: rpe Date: Tue, 25 Apr 2017 19:17:33 +0000 Subject: [PATCH] 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! --- etc/netstart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.20.1