diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-27 21:49:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-27 21:49:22 +0000 |
commit | 3f26fff4dd2e97caa686cff0a18c106312a8182d (patch) | |
tree | 19d892835bf7ae61a8983557f7cd47f3cae82409 /distrib | |
parent | 00e827280b76a6f80438f90109edb624bbee0e34 (diff) |
wasteful spaces and tabs snuck in. Actually, it's true -- this is one
place where they do matter...
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 6b777277aad..b0674f76188 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.701 2013/11/27 21:48:25 rpe Exp $ +# $OpenBSD: install.sub,v 1.702 2013/11/27 21:49:21 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -301,7 +301,7 @@ _autorespond() { [[ -n ${_key%%#*} && -n $_val ]] || continue [[ $_q == *"$_key"* ]] && resp=$_val && let _i++ done <$RESPONSEFILE - ((_i == 1)) && return + ((_i == 1)) && return if ((_i == 0)); then [[ -n $_def ]] && resp=$_def && return echo "\nQuestion has no answer in response file." @@ -2149,7 +2149,7 @@ get_responsefile() { _mode=$(sed -E '/filename/s/^.*auto_(install|upgrade).*$/\1/p;d' \ /var/db/dhclient.leases.$_bootdev 2>/dev/null) _mac=$(ifconfig $_bootdev | sed 's/.*lladdr \(.*\)/\1/p;d') - + for _f in $_mac-$_mode $_mode; do ftp -o "/$_mode.conf" "http://$_server/$_f.conf" [[ -s /$_mode.conf ]] && action=$_mode && break |