aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-12-31 16:24:26 +0100
committerMathias Kresin <dev@kresin.me>2019-01-26 21:46:32 +0100
commit28cd2caa35ba9d3749fb0e792dfa9d9aeacc61fa (patch)
tree09af23127b58692a4d7aef48d433198313174b83 /package/base-files/files/sbin/sysupgrade
parent1e06482f7db284567b240ce6f59c644439ec813f (diff)
downloadupstream-28cd2caa35ba9d3749fb0e792dfa9d9aeacc61fa.tar.gz
upstream-28cd2caa35ba9d3749fb0e792dfa9d9aeacc61fa.tar.bz2
upstream-28cd2caa35ba9d3749fb0e792dfa9d9aeacc61fa.zip
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>
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade1
1 files changed, 1 insertions, 0 deletions
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