From b3916e4115fb56c900b08f1b75e0f0fd16fd7f7e Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Tue, 4 Nov 2008 18:41:57 +0000 Subject: added waitfor dnsconfig if server is a name, so that fileget over http... can work git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2379 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/stage3-stuff/etc/functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'initramfs/stage3-stuff/etc/functions') diff --git a/initramfs/stage3-stuff/etc/functions b/initramfs/stage3-stuff/etc/functions index dc21a9fd..69209699 100644 --- a/initramfs/stage3-stuff/etc/functions +++ b/initramfs/stage3-stuff/etc/functions @@ -338,6 +338,8 @@ local cfgfile if [ "x$filepath" != "x" ] ; then cfgfile=${filepath} [ "x$fileserv" = "x" ] && fileserv=$(checkip ${serverip}) + # waiting for dns if fireserv is a name + echo ${fileserv} | grep -qi [a-z] && waitfor /tmp/dhcp-done 10000 [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\ $filepath, fileserv:$fileserv" >>$LOGFILE case "$fileprot" in -- cgit v1.2.3-55-g7522