Using a redirect to a non-empty mtd partition will not erase the blocks prior to writing to them resulting in broken dsl_fw. Fix this by piping to mtd write - /dev/mtdX instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43125
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40716
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39356
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007