diff options
-rw-r--r-- | src/initramfs/scripts/etc/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/initramfs/scripts/etc/functions b/src/initramfs/scripts/etc/functions index 3e8d4904..4ad43c7b 100644 --- a/src/initramfs/scripts/etc/functions +++ b/src/initramfs/scripts/etc/functions @@ -1,5 +1,5 @@ # Copyright (c) 2003..2006 - RZ Uni Freiburg -# Copyright (c) 2006..2009 - OpenSLX GmbH +# Copyright (c) 2006..2011 - OpenSLX GmbH # # This program/file is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -323,7 +323,7 @@ tftp_get () { echo "[tftp_get] download of \"$file\" from \"$file_server\" ... failed" return 0; fi - tftp -g -r $file -l /tmp/$(basename $file) $file_server + tftp -g -r "/$file" -l /tmp/$(basename $file) $file_server [ -s /tmp/$(basename $file) ] && download_successful=1 countdown=$(expr $countdown - 1) usleep 200000 |