summaryrefslogtreecommitdiffstats
path: root/scripts
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
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')
-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 @@
+# This small script should make the device flash
+# Red, Green, Blue a few times then reboot.
+bgcolor 255 0 0
+bgcolor 0 255 0
+bgcolor 0 0 255
+bgcolor 255 0 0
+bgcolor 0 255 0
+bgcolor 0 0 255
+bgcolor 255 0 0
+bgcolor 0 255 0
+bgcolor 0 0 255
+bgcolor 255 0 0
+bgcolor 0 255 0
+bgcolor 0 0 255
+bgcolor 255 0 0
+bgcolor 0 255 0
+bgcolor 0 0 255
+bgcolor 255 0 0
+bgcolor 0 255 0
+bgcolor 0 0 255
+reboot