summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/hostid
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2007-05-22 13:53:59 +0000
committerrse <rse@FreeBSD.org>2007-05-22 13:53:59 +0000
commit5d5ff0e937fce41793267e6713c1569bfe8dcbac (patch)
tree6674eec2a7577139c35deb524cb297a40f3f9e7e /etc/rc.d/hostid
parente8130fb9e7145026361832fba31c82e33c71963b (diff)
downloadFreeBSD-src-5d5ff0e937fce41793267e6713c1569bfe8dcbac.zip
FreeBSD-src-5d5ff0e937fce41793267e6713c1569bfe8dcbac.tar.gz
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)
Diffstat (limited to 'etc/rc.d/hostid')
-rw-r--r--etc/rc.d/hostid4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid
index 4a8cf0d..38da97e 100644
--- a/etc/rc.d/hostid
+++ b/etc/rc.d/hostid
@@ -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}"
;;
OpenPOWER on IntegriCloud