summaryrefslogtreecommitdiff
path: root/tools/reset_dummy
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-09-26 18:48:18 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-09-26 18:48:18 +0000
commit68f2a7b7f79fa085bb6b39038523c72a81b64193 (patch)
tree1731625c899c8963accd33c21272c175e6a4aff3 /tools/reset_dummy
parentremoved deprecated info (diff)
updated README
added minimus reset script git-svn-id: https://svn.spreadspace.org/avr/trunk@60 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'tools/reset_dummy')
-rwxr-xr-xtools/reset_dummy19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/reset_dummy b/tools/reset_dummy
new file mode 100755
index 0000000..36db140
--- /dev/null
+++ b/tools/reset_dummy
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+if [ -n "$1" ]; then
+ DELAY="$1"
+else
+ DELAY=5
+fi
+
+echo -n "Please press the reset button "
+i=$DELAY
+while (test $i -gt 0); do
+ sleep 1
+ i=$(($i-1))
+ echo -n "."
+done
+
+echo ""
+
+exit 0