From 97141c071bd59213300307e858dbd546fce786a3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Jan 2021 05:33:52 -0500 Subject: base: Download and run test bench on boot --- (limited to 'src') 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 -- cgit v0.9.1