• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3# Init entrypoint for bare-metal devices; calls common init code.
4
5# First stage: very basic setup to bring up network and /dev etc
6/init-stage1.sh
7
8export CURRENT_SECTION=dut_boot
9
10# Second stage: run jobs
11test $? -eq 0 && /init-stage2.sh
12
13# Wait until the job would have timed out anyway, so we don't spew a "init
14# exited" panic.
15sleep 6000
16