From 0d9a111face4f3629bcae8e52af843792af3b453 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Thu, 13 Sep 2012 10:41:16 -0400 Subject: Moving into firmwares directory. --- .../scripts/ArduinoWifiShield_upgrade.sh | 96 ++++++++++++++++++++++ .../scripts/ArduinoWifiShield_upgrade_mac.sh | 96 ++++++++++++++++++++++ 2 files changed, 192 insertions(+) create mode 100644 firmwares/wifishield/scripts/ArduinoWifiShield_upgrade.sh create mode 100644 firmwares/wifishield/scripts/ArduinoWifiShield_upgrade_mac.sh (limited to 'firmwares/wifishield/scripts') diff --git a/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade.sh b/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade.sh new file mode 100644 index 0000000..5082392 --- /dev/null +++ b/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade.sh @@ -0,0 +1,96 @@ +#!/bin/sh + +WIFI_FW_PATH="/hardware/arduino/firmwares/wifi-shield" +AVR_TOOLS_PATH="/hardware/tools/avr/bin" + +progname=$0 + +usage () { +cat <&2 + usage + exit 1 + ;; + :) + echo "Option -$OPTARG requires an argument." >&2 + exit 1 + ;; + esac + done +else + echo "You are not root!\n" +fi + +shift $(($OPTIND - 1)) diff --git a/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade_mac.sh b/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade_mac.sh new file mode 100644 index 0000000..5082392 --- /dev/null +++ b/firmwares/wifishield/scripts/ArduinoWifiShield_upgrade_mac.sh @@ -0,0 +1,96 @@ +#!/bin/sh + +WIFI_FW_PATH="/hardware/arduino/firmwares/wifi-shield" +AVR_TOOLS_PATH="/hardware/tools/avr/bin" + +progname=$0 + +usage () { +cat <&2 + usage + exit 1 + ;; + :) + echo "Option -$OPTARG requires an argument." >&2 + exit 1 + ;; + esac + done +else + echo "You are not root!\n" +fi + +shift $(($OPTIND - 1)) -- cgit v1.2.3-18-g5258