--- busy-config.old 2007-07-09 11:15:48.000000000 +0200 +++ busy-config 2007-07-06 12:15:46.000000000 +0200 @@ -450,7 +450,7 @@ # CONFIG_FAKEIDENTD is not set # CONFIG_FTPGET is not set # CONFIG_FTPPUT is not set -# CONFIG_HOSTNAME is not set +CONFIG_HOSTNAME=yes # CONFIG_HTTPD is not set # CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY is not set # CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set --- initrd.scripts.old 2007-07-06 10:52:29.000000000 +0200 +++ initrd.scripts 2007-07-06 14:35:55.000000000 +0200 @@ -157,9 +157,11 @@ } findnfsmount() { - - if [ "${IP}" != '' ] || busybox udhcpc -R rootpath -n -s /bin/udhcpc.scripts + if [ "${IP}" != '' ] || busybox udhcpc -n -s /bin/udhcpc.scripts then + # kill dhcp server (runs as busybox) + busybox killall busybox + [ -e /rootpath ] && NFSROOT=`cat /rootpath` if [ "${NFSROOT}" = '' ] @@ -208,7 +210,7 @@ fi else good_msg "Attemping to mount NFS root on ${NFSROOT}" - mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT} + mount -t nfs -o ${REAL_ROOTFLAGS} ${NFSROOT} ${NEW_ROOT} if [ "$?" = '0' ] then REAL_ROOT="/dev/nfs" --- udhcpc.scripts.old 2007-07-06 10:52:36.000000000 +0200 +++ udhcpc.scripts 2007-07-06 12:14:05.000000000 +0200 @@ -5,6 +5,7 @@ [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" [ -n "$subnet" ] && NETMASK="netmask $subnet" [ -n "$rootpath" ] && echo "$rootpath" > /rootpath + [ -n "$hostname" ] && busybox hostname $(echo "$hostname" |cut -d '.' -f1) #[ -n "$router" ] && echo "$router" > /router #[ -n "$dns" ] && echo "$dns" > /dns