diff options
author | Dirk von Suchodoletz | 2006-10-03 01:01:54 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-10-03 01:01:54 +0200 |
commit | 83436e9c15c17e1346b5b920080d9b7522d24991 (patch) | |
tree | bbefb583ceb5c33758c6690895e43bb378d488a7 /initramfs | |
parent | * cleanup of POD stuff. (diff) | |
download | core-83436e9c15c17e1346b5b920080d9b7522d24991.tar.gz core-83436e9c15c17e1346b5b920080d9b7522d24991.tar.xz core-83436e9c15c17e1346b5b920080d9b7522d24991.zip |
Small fix: suppress error output of tftp client.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@432 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 2da1f57f..f241ebe1 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -2,7 +2,7 @@ # (included by init, hwautocfg, servconfig, ... within OpenSLX initial # ramfs) # -# Dirk von Suchodoletz <dvs@OpenSLX.com>, 29-09-2006 +# Dirk von Suchodoletz <dvs@OpenSLX.com>, 02-10-2006 # Felix Endres, 30-04-2006 # <mj0@uni-freiburg.de> (xenbr), 27-09-2006 # Tobias Maier @@ -401,14 +401,14 @@ local dst=/tmp/$(basename $1) # tftp get part case "$tftp" in */atftp) - atftp -g -r $1 -l $dst $2 2> /dev/null + atftp -g -r $1 -l $dst $2 2>/dev/null ;; */tftp) # distinguish between busybox tftp and standalone (in.tftp) client if [ -x /bin/busybox ] ; then - tftp -g -r $1 -l $dst $2 1>&2 >/dev/null + tftp -g -r $1 -l $dst $2 2>/dev/null else - echo "get $1 $dst" | tftp $2 1>&2 >/dev/null + echo "get $1 $dst" | tftp $2 2>/dev/null fi ;; esac |