diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d36977d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.tmp diff --git a/update.sh b/update.sh index c37607f..35ad472 100755 --- a/update.sh +++ b/update.sh @@ -1,6 +1,10 @@ #!/bin/sh -unzip -o -q .tmp/firmware.zip -d .tmp/ +echo "put the nice!nano into bootloader, flashing in 5 seconds..." +sleep 5 +echo "flashing..." + +unzip -o -q $(find .tmp -name *.zip) -d .tmp/ mkdir .tmp/nicenano/ sudo mount /dev/sda .tmp/nicenano/