#!/bin/sh

PATH=/env/bin
export PATH

. /env/config
addpart /dev/nor0 $mtdparts

echo
echo -n "Hit any key to stop autoboot: "
timeout -a $autoboot_timeout
if [ $? != 0 ]; then
	echo
	echo "type update_kernel [<imagename>] to update kernel into flash"
	echo "type udate_root [<imagename>] to update rootfs into flash"
	echo
	exit
fi

boot