diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-06-10 13:03:44 +0200 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-06-11 01:37:41 +0200 |
commit | c40e96d133eefd15adcbe8c4e9d4905fd76d74c2 (patch) | |
tree | a8673050fccfe925675e27a2f16668eddea0e520 /target | |
parent | 442db0d6d8614c354c1c1ce705dd57d020680bac (diff) | |
download | mtk-20170518-c40e96d133eefd15adcbe8c4e9d4905fd76d74c2.zip mtk-20170518-c40e96d133eefd15adcbe8c4e9d4905fd76d74c2.tar.gz mtk-20170518-c40e96d133eefd15adcbe8c4e9d4905fd76d74c2.tar.bz2 |
bcm53xx: fix partition typos in 09_fix_crc
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc | 2 |
1 files changed, 1 insertions, 1 deletions
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 2959905..8cb8a90 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 |