summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2017-02-08 23:13:03 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2017-02-08 23:13:03 +0000
commitc2cbdf5485a5f6e55788f23af0f5c04fbeaafc14 (patch)
tree551a759e845c3e4687d5fdebdf1e663d8587332e /distrib
parentdc07301dae0ef37b733c55effcdbafb28ecf9316 (diff)
Add even more line breaks to fit to 80 columns.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub11
1 files changed, 7 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 884f70e6ea0..6fa626a9e71 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.968 2017/02/08 22:56:01 rpe Exp $
+# $OpenBSD: install.sub,v 1.969 2017/02/08 23:13:02 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -1099,7 +1099,8 @@ configure_ifs() {
while :; do
_vd=$(ifconfig vlan$_vl 2>&1)
[[ $_vd == @(*no such interface*) ]] && break
- [[ $_vd == @(*vlan: +([[:digit:]]) parent interface:*) ]] || break
+ [[ $_vd == @(*vlan: +([[:digit:]]) parent interface:*) ]] ||
+ break
((_vl++))
done
_vd=
@@ -1145,12 +1146,14 @@ configure_ifs() {
while [[ $1 == vlan+([0-9]) ]]; do
shift
done
- ask "Which interface:tag should $_if be on?" "${_vd:=$1}:$_vi"
+ ask "Which interface:tag should $_if be on?" \
+ "${_vd:=$1}:$_vi"
_vd=${resp%%:*}
_vi=${resp##*:}
# Validate that $_vd is a real interface.
- if ! (isin "$_vd" $_ifs && [[ $_vd != vlan+([0-9]) ]]); then
+ if ! (isin "$_vd" $_ifs &&
+ [[ $_vd != vlan+([0-9]) ]]); then
echo "Invalid interface choice '$_vd'"
_vd=
continue