--- initscripts-4.54/sysconfig/network-scripts/ifup.dynamic	Thu Oct 14 10:43:23 1999
+++ initscripts-4.54/sysconfig/network-scripts/ifup	Thu Oct 14 10:44:13 1999
@@ -4,8 +4,6 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 cd /etc/sysconfig/network-scripts
 . network-functions
 
-need_hostname
-
 CONFIG=$1
 
 [ -z "$CONFIG" ] && {
@@ -30,6 +28,7 @@ if [ $UID != 0 ]; then
 fi
 
 source_config
+need_hostname
 
 if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" ]
 then
--- initscripts-4.54/sysconfig/network-scripts/ifup-post.dynamic	Thu Oct 14 10:43:32 1999
+++ initscripts-4.54/sysconfig/network-scripts/ifup-post	Thu Oct 14 10:44:20 1999
@@ -3,9 +3,9 @@
 cd /etc/sysconfig/network-scripts
 . network-functions
 
-need_hostname
 CONFIG=$1
 source_config
+need_hostname
 
 DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
 REALDEVICE=`echo $DEVICE | sed 's/:.*//g'`
--- initscripts-4.54/sysconfig/network-scripts/network-functions.dynamic	Thu Oct 14 10:43:44 1999
+++ initscripts-4.54/sysconfig/network-scripts/network-functions	Thu Oct 14 10:46:02 1999
@@ -32,7 +32,8 @@ do_netreport ()
 need_hostname()
 {
     if [ "`hostname`" = "(none)" -o "`hostname`" = "localhost" -o \
-	 "`hostname`" = "localhost.localdomain" ]; then
+	 "`hostname`" = "localhost.localdomain" -o \
+	 \( "$DEVICE" = "eth0" -a "$BOOTPROTO" != "none" \) ]; then
 	NEEDHOSTNAME=yes
     else
 	unset NEEDHOSTNAME
