summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/hostid
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2008-01-24 07:04:12 +0000
committerru <ru@FreeBSD.org>2008-01-24 07:04:12 +0000
commit3fcb96106a88a4aefc38654c91f39403b0e852b9 (patch)
tree131546680240d8f235417f0444302016b47a328c /etc/rc.d/hostid
parentbb43be9f39ae0301c7b17371f4a30d5db1daf003 (diff)
downloadFreeBSD-src-3fcb96106a88a4aefc38654c91f39403b0e852b9.zip
FreeBSD-src-3fcb96106a88a4aefc38654c91f39403b0e852b9.tar.gz
Shorter equivalent of the command.
Diffstat (limited to 'etc/rc.d/hostid')
-rw-r--r--etc/rc.d/hostid2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid
index 38da97e..77f5b9e 100644
--- a/etc/rc.d/hostid
+++ b/etc/rc.d/hostid
@@ -56,7 +56,7 @@ hostid_set()
hostid_hardware()
{
- uuid=`kenv smbios.system.uuid 2>/dev/null`
+ uuid=`kenv -q smbios.system.uuid`
x="[0-9a-f]"
y=$x$x$x$x
case "${uuid}" in
OpenPOWER on IntegriCloud