summaryrefslogtreecommitdiffstats
path: root/scripts/test.irs
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-16 03:38:47 -0400
committerGravatar Joshua Hill2010-06-16 03:38:47 -0400
commitc2249545efe5451f25e08fbc57e19b9c91a855c5 (patch)
tree6a88e84143b613a184039302a6fc5a0f9e1cdf3c /scripts/test.irs
parent671640f5e2c9908a3807d537e9e761e398347b57 (diff)
downloadlibirecovery-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.irs21
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.
3bgcolor 255 0 0
4bgcolor 0 255 0
5bgcolor 0 0 255
6bgcolor 255 0 0
7bgcolor 0 255 0
8bgcolor 0 0 255
9bgcolor 255 0 0
10bgcolor 0 255 0
11bgcolor 0 0 255
12bgcolor 255 0 0
13bgcolor 0 255 0
14bgcolor 0 0 255
15bgcolor 255 0 0
16bgcolor 0 255 0
17bgcolor 0 0 255
18bgcolor 255 0 0
19bgcolor 0 255 0
20bgcolor 0 0 255
21reboot