aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/hostid
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-05-11 00:16:32 +0000
committerXin LI <delphij@FreeBSD.org>2015-05-11 00:16:32 +0000
commit1d79f30229e033efe317adb6319901ddc95ede9d (patch)
treed56503c88f855fb41d4b422449d7fc94f600dfe5 /etc/rc.d/hostid
parent5a9f9cb38efb2417fbe84989edbf48afc97a191a (diff)
downloadsrc-1d79f30229e033efe317adb6319901ddc95ede9d.tar.gz
src-1d79f30229e033efe317adb6319901ddc95ede9d.zip
Revert r282672.
tr is in /usr and not available at the time hostid is run (must be run before FILESYSTEMS). Reported by: def
Notes
Notes: svn path=/head/; revision=282745
Diffstat (limited to 'etc/rc.d/hostid')
-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 a26cbc09a180..281b2417c9ea 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