From 28cd2caa35ba9d3749fb0e792dfa9d9aeacc61fa Mon Sep 17 00:00:00 2001 From: David Bauer Date: Mon, 31 Dec 2018 16:24:26 +0100 Subject: 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 [split code from board support patch; add commit message] Signed-off-by: Mathias Kresin --- package/base-files/files/sbin/sysupgrade | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files/sbin') diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 58b613b5a0..54d7a64b48 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -4,6 +4,7 @@ . /lib/functions/system.sh # initialize defaults +export MTD_ARGS="" export MTD_CONFIG_ARGS="" export INTERACTIVE=0 export VERBOSE=1 -- cgit v1.2.3