mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
322 B
13 lines
322 B
#!/bin/sh |
|
|
|
# Init entrypoint for bare-metal devices; calls common init code. |
|
|
|
# First stage: very basic setup to bring up network and /dev etc |
|
/init-stage1.sh |
|
|
|
# Second stage: run jobs |
|
test $? -eq 0 && /init-stage2.sh |
|
|
|
# Wait until the job would have timed out anyway, so we don't spew a "init |
|
# exited" panic. |
|
sleep 6000
|
|
|