summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-05-11 00:16:32 +0000
committerdelphij <delphij@FreeBSD.org>2015-05-11 00:16:32 +0000
commitbac4e22c4f03e9b76df194b5456f17d5bd5a9533 (patch)
treed56503c88f855fb41d4b422449d7fc94f600dfe5
parent6ede9cbbeff7e308607ab3cb6c72e5739d56ea14 (diff)
downloadFreeBSD-src-bac4e22c4f03e9b76df194b5456f17d5bd5a9533.zip
FreeBSD-src-bac4e22c4f03e9b76df194b5456f17d5bd5a9533.tar.gz
Revert r282672.
tr is in /usr and not available at the time hostid is run (must be run before FILESYSTEMS). Reported by: def
-rwxr-xr-xetc/rc.d/hostid2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid
index a26cbc0..281b241 100755
--- a/etc/rc.d/hostid
+++ b/etc/rc.d/hostid
@@ -58,7 +58,7 @@ hostid_set()
valid_hostid()
{
- uuid=$(echo $1 | tr '[:upper:]' '[:lower:]')
+ uuid=$1
x="[0-9a-f]"
y=$x$x$x$x
OpenPOWER on IntegriCloud