#!/bin/sh

. /env/config

image=$jffs2

alternate $ageing
ret=$?

if [ $ret = 0 ]; then
	echo "Error when accesing ageing-partition!"
	exit 1
elif [ $ret = 2 ]; then
	part=/dev/nor0.system0
else
	part=/dev/nor0.system1
fi

. /env/bin/_update $1
