aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/diskless
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-10-03 19:57:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-10-03 19:57:58 +0000
commite0f8a7e7af3db94a659d62a5d2944f4d98cb1d48 (patch)
tree5c8b6664fbcb5dcc1abc67feaec2db62c9e674d7 /etc/rc.d/diskless
parent1b2d9f06539426312cf134050e6fecc221be68c9 (diff)
Notes
Diffstat (limited to 'etc/rc.d/diskless')
-rw-r--r--etc/rc.d/diskless2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/diskless b/etc/rc.d/diskless
index 6f189f2fa3cf..f244c8f35ed6 100644
--- a/etc/rc.d/diskless
+++ b/etc/rc.d/diskless
@@ -146,7 +146,7 @@ fi
# generate our hostname
#
if [ -z "`hostname -s`" -a \
- "x`/bin/kenv dhdp.host-name`" != "x" ]; then
+ "x`/bin/kenv dhcp.host-name`" != "x" ]; then
hostname=`/bin/kenv dhcp.host-name`
hostname $hostname
echo "Hostname is $hostname"