summaryrefslogtreecommitdiffstats
path: root/board/edb93xx/env/bin/init
blob: c6b5aed271b487ef5f1cbec53cea71ed31a7a4f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

PATH=/env/bin
export PATH

. /env/config

# add partitions to barebox
. /env/bin/set_nor_parts
addpart /dev/nor0 ${nor_parts}

echo
echo -n "Hit any key to stop autoboot: "
timeout -a $autoboot_timeout
if [ $? != 0 ]; then
	exit
fi

boot