From: Rafał Miłecki Date: Mon, 27 Jun 2016 13:23:13 +0000 (+0200) Subject: bcm53xx: fix partition typos in 09_fix_crc X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=cc5a0d09eedbacb0addb91b1031434dedcf4f604;p=openwrt-github%2F.git bcm53xx: fix partition typos in 09_fix_crc Signed-off-by: Rafał Miłecki --- diff --git a/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc index 2959905e81..8cb8a90ce9 100644 --- a/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc +++ b/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc @@ -1,6 +1,6 @@ #!/bin/sh -kernel_size=$(sed -n 's/mtd[0-9]*: \([0-9a-f]*\).*"\(kerel\|liux\)".*/\1/p' /proc/mtd) +kernel_size=$(sed -n 's/mtd[0-9]*: \([0-9a-f]*\).*"\(kernel\|linux\)".*/\1/p' /proc/mtd) [ -n "$kernel_size" ] && kernel_size=$((0x$kernel_size)) mtd ${kernel_size:+-c $kernel_size} fixtrx firmware && exit 0