blob: e864dc5a4291b81b959bb02e7d7ff4829370fb3e [file] [log] [blame]
#!/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 update_system [<imagename>] to update rootfs into flash."
echo "Type update_application [<imagename>] to update applications into flash."
echo "Type update_persistent [<imagename>] to update persistent into flash."
echo "Type update_bareboxenv [<imagename>] to update bareboxenv into flash (use with care!)."
echo "Type reset_ageing to initialize the ageing partittion (use with care!)."
echo
exit
fi
boot