Use new -n option when executing kldload, to

not warn about already loaded module(s).

MFC after:	1 week
This commit is contained in:
hselasky 2012-03-18 09:47:27 +00:00
parent 8be9a344bd
commit de7d9eb7a3

View File

@ -317,7 +317,7 @@ usb_dump(struct usb_device_id *id, uint32_t nid)
printf(" match \"intprotocol\" \"0x%02x\";\n",
id->bInterfaceProtocol);
}
printf(" action \"kldload %s\";\n"
printf(" action \"kldload -n %s\";\n"
"};\n\n", id->module_name);
return (n);