bcm53xx: fix partition typos in 09_fix_crc
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
This commit is contained in:
parent
442db0d6d8
commit
c40e96d133
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue