diff --git a/package/boot/uboot-tools/uboot-envtools/files/ipq806x b/package/boot/uboot-tools/uboot-envtools/files/ipq806x index 443a0e13d40..c0d11b70d7d 100644 --- a/package/boot/uboot-tools/uboot-envtools/files/ipq806x +++ b/package/boot/uboot-tools/uboot-envtools/files/ipq806x @@ -12,7 +12,7 @@ touch /etc/config/ubootenv board=$(board_name) ubootenv_mtdinfo () { - UBOOTENV_PART=$(cat /proc/mtd | grep APPSBLENV) + UBOOTENV_PART=$(cat /proc/mtd | grep -i APPSBLENV) mtd_dev=$(echo $UBOOTENV_PART | awk '{print $1}' | sed 's/:$//') mtd_size=$(echo $UBOOTENV_PART | awk '{print "0x"$2}') mtd_erase=$(echo $UBOOTENV_PART | awk '{print "0x"$3}')