Theo de Raadt <dera...@openbsd.org> wrote: > > The other, that if both exist, > > /etc/hostname.$if will override /etc/hostname.$lladdr. > > We do need to decide which one is priority, and document that. > > I am still unsure which is better. (I've seen a lot of spurious comments > from folk, so please think about realistic cases, and don't make stuff up..)
And by that I mean: Actually try andrews's diff. It does it one way (.if is more important). Maybe it needs to be the other way. By using that script, let's find an actual case where it matters and the other way is better, and then we discuss that. Maybe it doesn't matter which way we do it, as long as we document it.