Skip to content

Commit

Permalink
Update to avoid re-downloading firmware if it already persists.
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Sep 22, 2016
1 parent 178d373 commit 011deac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ do
esac
done
echo "Downloading firmware for $ver from HP."
wget http://ftp.hp.com/pub/networking/software/pfirmware/$firm ;
wget -nc http://ftp.hp.com/pub/networking/software/pfirmware/$firm ;
echo "Xeddius Officejet Fix v1.1";
echo "Uploading $ver Firmware, please be patient!";
cat $firm | nc -w 100 $@ 9100 && echo "Success!" || echo "Failed! Check your network/ip and files before trying again.";
Expand Down

0 comments on commit 011deac

Please sign in to comment.