diff options
| author | 2010-06-16 03:38:47 -0400 | |
|---|---|---|
| committer | 2010-06-16 03:38:47 -0400 | |
| commit | c2249545efe5451f25e08fbc57e19b9c91a855c5 (patch) | |
| tree | 6a88e84143b613a184039302a6fc5a0f9e1cdf3c /scripts/test.irs | |
| parent | 671640f5e2c9908a3807d537e9e761e398347b57 (diff) | |
| download | libirecovery-c2249545efe5451f25e08fbc57e19b9c91a855c5.tar.gz libirecovery-c2249545efe5451f25e08fbc57e19b9c91a855c5.tar.bz2 | |
Changed debug variable to be a static global variable to allow set once always enabled style debug flag
Added -e flag to load and execute a premade script file along with a sample script
Diffstat (limited to 'scripts/test.irs')
| -rw-r--r-- | scripts/test.irs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/test.irs b/scripts/test.irs new file mode 100644 index 0000000..77f959d --- /dev/null +++ b/scripts/test.irs | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # This small script should make the device flash | ||
| 2 | # Red, Green, Blue a few times then reboot. | ||
| 3 | bgcolor 255 0 0 | ||
| 4 | bgcolor 0 255 0 | ||
| 5 | bgcolor 0 0 255 | ||
| 6 | bgcolor 255 0 0 | ||
| 7 | bgcolor 0 255 0 | ||
| 8 | bgcolor 0 0 255 | ||
| 9 | bgcolor 255 0 0 | ||
| 10 | bgcolor 0 255 0 | ||
| 11 | bgcolor 0 0 255 | ||
| 12 | bgcolor 255 0 0 | ||
| 13 | bgcolor 0 255 0 | ||
| 14 | bgcolor 0 0 255 | ||
| 15 | bgcolor 255 0 0 | ||
| 16 | bgcolor 0 255 0 | ||
| 17 | bgcolor 0 0 255 | ||
| 18 | bgcolor 255 0 0 | ||
| 19 | bgcolor 0 255 0 | ||
| 20 | bgcolor 0 0 255 | ||
| 21 | reboot | ||
