[PATCH] bootstd: USB devtype detection for script boot