aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/imx6/base-files')
-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 0dfaf0163d..0ab2d984d3 100755
--- a/target/linux/imx6/base-files/lib/upgrade/platform.sh
+++ b/target/linux/imx6/base-files/lib/upgrade/platform.sh
@@ -75,7 +75,7 @@ platform_pre_upgrade() {
case "$board" in
apalis*)
- [ "$SAVE_CONFIG" -eq 0 ] && {
+ [ "$UPGRADE_OPT_SAVE_CONFIG" -eq 0 ] && {
jffs2reset -y
umount /overlay
}