Is there a way to disable the usb0 interface startup in the bbb?

Is there a way to disable the usb0 interface startup in the bbb? He should only boot with eth0. The power comes over usb.

Why disable it?

We had an Service which runs with Mono. This Service is listen on an ethernet interface. And if the usb0 up, we only can listen on that interface.

If usb ethernet gadget is not compiled in the kernel and is loaded as module just remove the g_ether module. don’t take my advice as good, not really really xped with beagleboards

Build a cape that overrides the boot pins. Then find a combination that suits your needs. assuming there is one. It is in described in the TRM for the AM3359 processor.