diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2013-11-12 13:20:48 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2013-11-12 13:20:48 +0000 |
commit | b659456a8536ad34aaa7ebac1a4ee976bcff5a42 (patch) | |
tree | da1e79527dfce47e3dee2622728d204b17c93c30 /sbin | |
parent | 45a118656f2f06aa2fc0f284cc593ab394470ae9 (diff) |
Rework get_responsefile()
- Take netboot interface down and so kill a dhclient from a previous
attempt and to free up the only bpf which exists in this installstage.
Without this, we're not able to "restart" autoinstall because dhclient
fails due to lack of bpf's. dhclient takes the interface up again.
- Remove -s leasefile check, it's implicitly done with -n SERVER check.
- Avoid possible sed error msgs by redirecting STDERR to /dev/null.
- Fetch install.conf in a ftp on-liner whithout unneccessary URL var.
- Shorten -s install.conf check,
- [] -> [[]] for consistency
ok krw@
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions