treewide: replace remaining (not working now) $SAVE_CONFIG uses
[openwrt/openwrt.git] / target / linux / imx6 / base-files / lib / upgrade / platform.sh
index c3be9d542416d111bcb86d0b42238552827450f3..07b568d9b4dba091e329da21ffa0a3577c05e9b1 100755 (executable)
@@ -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
                }