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 9414b18710..a090cc080b 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*)
- [ "$UPGRADE_OPT_SAVE_CONFIG" -eq 0 ] && {
+ [ -z "$UPGRADE_BACKUP" ] && {
jffs2reset -y
umount /overlay
}