Update zz-uenv_txt

pull/62/head
Robert Nelson 10 years ago
parent cef582af55
commit 01e71331ae

@ -8,6 +8,7 @@ if [ -z "${version}" ] ; then
exit 2 exit 2
fi fi
#Single Media option where u-boot can read the rootfs partitions...
if [ -f /boot/uEnv.txt ] ; then if [ -f /boot/uEnv.txt ] ; then
unset older_kernel unset older_kernel
older_kernel=$(grep uname_r /boot/uEnv.txt | grep -v '#' | awk -F"=" '{print $2}' || true) older_kernel=$(grep uname_r /boot/uEnv.txt | grep -v '#' | awk -F"=" '{print $2}' || true)
@ -23,6 +24,7 @@ if [ -f /boot/uEnv.txt ] ; then
fi fi
fi fi
#Dual Media option or where u-boot can not read the rootfs partition...
udir="/boot/uboot/boot" udir="/boot/uboot/boot"
if [ -f ${udir}/uEnv.txt ] ; then if [ -f ${udir}/uEnv.txt ] ; then
unset older_kernel unset older_kernel

Loading…
Cancel
Save