From 011deac2ecc165b1086c4d720ee0b98867411739 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 21 Sep 2016 21:25:15 -0400 Subject: [PATCH] Update to avoid re-downloading firmware if it already persists. --- fix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fix.sh b/fix.sh index 8d8a519..a6d5d27 100755 --- a/fix.sh +++ b/fix.sh @@ -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.";