[ipxe-devel] testing 'smbios/product' variable
Marek Salwerowicz
marek_sal at wp.pl
Mon Nov 12 14:42:39 UTC 2012
W dniu 2012-11-12 15:36, Michael Brown pisze:
> Scripts terminate when any command fails. In your case, at least one
> of the "iseq" commands will (by definition) always fail, causing the
> script to terminate. You need to use the "||" operator to prevent
> this from happening:
>
> iseq ${smbios/product} ${VMWARET} && set vmware 1 ||
> iseq ${smbios/product} ${VBOXT} && set vbox 1 ||
Thanks for help !
Cheers,
--
Marek
More information about the ipxe-devel
mailing list