summaryrefslogtreecommitdiff
path: root/tools/reset_dummy
blob: 36db140e68a191b6ae00cd023bb18b2abeef2c5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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