bcm53xx: fix partition typos in 09_fix_crc

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
lede-17.01
Rafał Miłecki 2016-06-10 13:03:44 +02:00
parent 442db0d6d8
commit c40e96d133
1 changed files with 1 additions and 1 deletions

View File

@ -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