rS309934 cleaned up some cases in bsdinstall to use heredocs but broke the indentation of the generated output, because <<- heredocs strip leading tabs.
PR: 221982
Paths
| Differential D13190 Authored by emaste on Nov 22 2017, 1:38 AM.
Details Summary rS309934 cleaned up some cases in bsdinstall to use heredocs but broke the indentation of the generated output, because <<- heredocs strip leading tabs. PR: 221982
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 22 2017, 3:39 AM2017-11-22 03:39:04 (UTC+0) Closed by commit rS326094: Fix indentation in bsdinstall-created wpa_supplicant.conf (authored by emaste). · Explain WhyNov 22 2017, 3:18 PM2017-11-22 15:18:29 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 35575 usr.sbin/bsdinstall/scripts/wlanconfig
|
One trick you can use here is BUS_PROBE_NOWILDCARD. This will the only attach to devices that are explicitly added with your driver name. I think that means you can remove your other two checks and just have: