2
0
forked from Ivasoft/openwrt

base-files: sysupgrade: support additional mtd options

Add support for passing additional parameters to mtd called during
sysupgrade. It will be required to toggle the "recovery moe" flag
supported by recent tp-link boards.

Signed-off-by: David Bauer <mail@david-bauer.net>
[split code from board support patch; add commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
David Bauer
2018-12-31 16:24:26 +01:00
committed by Mathias Kresin
parent 1e06482f7d
commit 28cd2caa35
2 changed files with 3 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
. /lib/functions/system.sh
# initialize defaults
export MTD_ARGS=""
export MTD_CONFIG_ARGS=""
export INTERACTIVE=0
export VERBOSE=1