backout filter of Nil UUID as the boot loader code already filters out Nil UUIDs (see src/sys/boot/i386/libi386/smbios.c:smbios_setuuid for details)

This commit is contained in:
Ralf S. Engelschall 2007-05-22 13:53:59 +00:00
parent e842c54054
commit 0d5b72b307

View File

@ -59,11 +59,7 @@ hostid_hardware()
uuid=`kenv smbios.system.uuid 2>/dev/null`
x="[0-9a-f]"
y=$x$x$x$x
z="0000"
case "${uuid}" in
$z$z-$z-$z-$z-$z$z$z)
# Filter the special "Nil" UUID
;;
$y$y-$y-$y-$y-$y$y$y)
echo "${uuid}"
;;