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" diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index 6f189f2fa3cf..f244c8f35ed6 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -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" diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp index 6f189f2fa3cf..f244c8f35ed6 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" diff --git a/etc/rc.d/var b/etc/rc.d/var index 6f189f2fa3cf..f244c8f35ed6 100644 --- a/etc/rc.d/var +++ b/etc/rc.d/var @@ -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"