diff options
author | ru <ru@FreeBSD.org> | 2008-01-24 07:04:12 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-01-24 07:04:12 +0000 |
commit | 3fcb96106a88a4aefc38654c91f39403b0e852b9 (patch) | |
tree | 131546680240d8f235417f0444302016b47a328c /etc/rc.d/hostid | |
parent | bb43be9f39ae0301c7b17371f4a30d5db1daf003 (diff) | |
download | FreeBSD-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/hostid | 2 |
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 |