summaryrefslogtreecommitdiffstats
path: root/docs/README.pxe
Commit message (Expand)AuthorAgeFilesLines
* cleanup the .cfgPascal Rigaux2002-02-121-9/+0
* initial release, dhcpd and tftpd only.Francois Pons2001-07-201-0/+142
lc">"$argc == 3" { # Get username, host and password from commandline if present. set username [lindex $argv 0] set host [lindex $argv 1] set password [lindex $argv 2] } else { exit 1; } spawn /usr/bin/ssh $username@$host "exit;" # The sleep is needed to give passwd time to get ready. expect { "password:" { sleep 1; send -- "$password\r" } # send } expect { "Permission denied" { exit 1 } # bad passwd eof { exit 0 } # OK }