aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/imx6')
-rwxr-xr-xtarget/linux/imx6/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/imx6/base-files/lib/upgrade/platform.sh b/target/linux/imx6/base-files/lib/upgrade/platform.sh
index c3be9d5424..07b568d9b4 100755
--- a/target/linux/imx6/base-files/lib/upgrade/platform.sh
+++ b/target/linux/imx6/base-files/lib/upgrade/platform.sh
@@ -78,7 +78,7 @@ platform_pre_upgrade() {
case "$board" in
apalis*)
- [ "$SAVE_CONFIG" -eq 0 ] && {
+ [ "$UPGRADE_OPT_SAVE_CONFIG" -eq 0 ] && {
jffs2reset -y
umount /overlay
}