From dff50af93bd52abad824dfeb2f45bc95d6b178f9 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Tue, 22 May 2007 10:22:24 +0000 Subject: [PATCH] Remove the ugly csh(1) based UUID lower-case translation hack from /etc/rc.d/hostid now that we switched the origin of the UUID (variable smbios.system.uuid as provided by the i386 BIOS code) to already provide a standard conforming lower-case UUID text representation. --- etc/rc.d/hostid | 1 - 1 file changed, 1 deletion(-) diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid index 181870cde94..4a8cf0dc5d9 100644 --- a/etc/rc.d/hostid +++ b/etc/rc.d/hostid @@ -57,7 +57,6 @@ hostid_set() hostid_hardware() { uuid=`kenv smbios.system.uuid 2>/dev/null` - uuid=`csh -c 'echo -n ${*:al}' "${uuid}"` x="[0-9a-f]" y=$x$x$x$x z="0000"