diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-06-27 15:23:13 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-27 15:23:13 +0200 |
commit | cc5a0d09eedbacb0addb91b1031434dedcf4f604 (patch) | |
tree | 9a5055ecd4b35b6e53bf081d551ec141212d1e5c | |
parent | 2d74fcb9c48b43a568ba14afe4d072b71ff8001e (diff) | |
download | master-187ad058-cc5a0d09eedbacb0addb91b1031434dedcf4f604.tar.gz master-187ad058-cc5a0d09eedbacb0addb91b1031434dedcf4f604.tar.bz2 master-187ad058-cc5a0d09eedbacb0addb91b1031434dedcf4f604.zip |
bcm53xx: fix partition typos in 09_fix_crc
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-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 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 |