X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdevice-handler.c;fp=discover%2Fdevice-handler.c;h=a6eb8843d514e0a99f9a53bb79ea951e8ec6f36a;hp=7a570f9e612da52ff7d098ee2e7ec8ac6eb3bb23;hb=ef13876e9feacc576724b7eba089d0483e84ceee;hpb=11c43508e4360456298a6dcb0563614e9a118b41 diff --git a/discover/device-handler.c b/discover/device-handler.c index 7a570f9..a6eb884 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -832,6 +832,9 @@ static enum default_priority default_option_priority( int boot_match = autoboot_option_priority(config, opt); if (boot_match > 0) return boot_match; + } else { + /* If there is no specific boot order, boot any device */ + return DEFAULT_PRIORITY_LOCAL_FIRST; } /* If the option didn't match any entry in the array, it is disabled */