summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/tmp
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/tmp')
-rw-r--r--etc/rc.d/tmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp
index 6f189f2..f244c8f 100644
--- a/etc/rc.d/tmp
+++ b/etc/rc.d/tmp
@@ -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"
OpenPOWER on IntegriCloud