How can I wait for a USB Ethernet adapter to appear to configure lagg on startup?

Masachika ISHIZUKA ish at amail.plala.or.jp
Fri May 18 02:31:51 UTC 2018


Hi.

I use a nootbook machine.
As this machine has no internal nic, I use a USB ethernet adapter(ue0).
I want to configure lagg0 of ue0 and iwm0, but I must wait to start
/etc/rc.d/netif until appearing the ue0.
I'm using patched netif as follows, but I must keep it whenever
'mergemaster -Ui' is run.
Is there a more elegant way?
-- 
Masachika ISHIZUKA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netif.diff
Type: text/x-patch
Size: 1230 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20180518/a5f2df6e/attachment.bin>
-------------- next part --------------
netif_wait_timeout=60
netif_wait_if="ue0"


More information about the freebsd-hackers mailing list