summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-13 05:33:52 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-13 05:54:37 (EST)
commit97141c071bd59213300307e858dbd546fce786a3 (patch)
tree7134be3341ede59a16a68c3b54b0ef15682f96fa
parentc2306f56259534face7f2fc553c991c9b6f1ab64 (diff)
base: Download and run test bench on boot
-rw-r--r--src/build/busybox_1.32.1/inittab2
-rwxr-xr-xsrc/run/base/usr/sbin/gettestbench10
2 files changed, 11 insertions, 1 deletions
diff --git a/src/build/busybox_1.32.1/inittab b/src/build/busybox_1.32.1/inittab
index 9455f5e..a213ca0 100644
--- a/src/build/busybox_1.32.1/inittab
+++ b/src/build/busybox_1.32.1/inittab
@@ -3,7 +3,7 @@
::sysinit:/etc/init.d/rcS
::shutdown:/etc/init.d/rcK
-tty1::askfirst:/sbin/getty 38400 tty1
+tty1::respawn:/usr/sbin/gettestbench
tty2::askfirst:/sbin/getty 38400 tty2
tty3::askfirst:/sbin/getty 38400 tty3
tty4::askfirst:/sbin/getty 38400 tty4
diff --git a/src/run/base/usr/sbin/gettestbench b/src/run/base/usr/sbin/gettestbench
new file mode 100755
index 0000000..6d730aa
--- /dev/null
+++ b/src/run/base/usr/sbin/gettestbench
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+path='taurinus/qc/test-bench/testbench-proteanos.sh'
+
+wget -O /tmp/testbench "http://product-files.libiquity.com/${path}"
+chmod a+x /tmp/testbench
+
+exec /tmp/testbench