From 15ac759f1056cbae0e90e9b84d811b56de86bf91 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! --- src/etc/netstart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/netstart b/src/etc/netstart index 7c1d8ea5..4a5eeaab 100644 --- a/src/etc/netstart +++ b/src/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.