diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2013-11-25 23:02:05 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2013-11-25 23:02:05 +0000 |
commit | a5e5fbade1171949d294937d5ea24e71d5a0319f (patch) | |
tree | 781b9eb906ceeddad5f1d08ce73d5bc01daf48e1 /usr.sbin/tcpdump/gmt2local.c | |
parent | 10f1362e7c884e0ec6bd6de46df0d116959ddda2 (diff) |
Allow auto install/upgrade in non-netbooted case.
Add some logic to get_responsefile() to select an interface for the
initial dhcp request which tells what to do (install/upgrade) and
where to fetch the responsefile from.
- if netbooted, use the interface in netboot group, or
- if only one interface exists, use it, or
- if more intefaces exist, ask user which one to use
Tweak ask_which() to be usable if $auto is true, but
$RESPSONSEFILE not yet set.
ok halex@ deraadt@
Diffstat (limited to 'usr.sbin/tcpdump/gmt2local.c')
0 files changed, 0 insertions, 0 deletions