diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-04-05 12:37:15 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-04-05 12:37:15 +0000 |
commit | bc2e20a68500e303e6d01ad4fa6bf62a7f2dd17c (patch) | |
tree | 686180196d269fa7d1ffc104bd1ef3b912c4dc2f /distrib/miniroot/install.sub | |
parent | 692058c7bc7894fd2979faab2862faca4851edbd (diff) |
Cope with the removal of less from install media.
Noted by Adam Wolk, thanks.
OK krw@ deraadt@
Diffstat (limited to 'distrib/miniroot/install.sub')
-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 daa10237720..8c4cdf5252e 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.828 2015/04/04 14:21:01 rpe Exp $ +# $OpenBSD: install.sub,v 1.829 2015/04/05 12:37:14 rpe Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -808,7 +808,7 @@ ieee80211_config() { ;; \?) ieee80211_scan $_ifs | sed -n 's/^\([^ ]*\) chan .* bssid \([^ ]*\) .*$/ \1 (\2)/p' | - less -XEN + cat -n | more -ce ;; *) _nwid=$resp;; esac @@ -1259,7 +1259,7 @@ install_http() { case $resp in done) return;; "?") [[ -s $HTTP_LIST ]] || continue - less -XEN < $HTTP_LIST + cat -n < $HTTP_LIST | more -ce ;; +([0-9])) # A numeric hostname is ignored. A number is only used |