This commit is contained in:
Scott Ullrich 2009-06-29 20:07:22 -04:00
parent e3ddf3858d
commit d2fdbd6f51

View File

@ -99,12 +99,11 @@ switch ($command) {
if(file_exists("/root/firmware.tgz")) {
do_upgrade("/root/firmware.tgz", $type);
exit;
} else {
echo "\nCould not download update.\n\n";
fclose($fp);
die -1;
}
} else {
echo "\nCould not download update.\n\n";
fclose($fp);
die -1;
}
case "2":
echo "\nEnter the complete path to the .tgz update file: ";
$path = chop(fgets($fp));