projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: pass "save_config" option to the "sysupgrade" method
[openwrt/openwrt.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
do_stage2
diff --git
a/package/base-files/files/lib/upgrade/do_stage2
b/package/base-files/files/lib/upgrade/do_stage2
index 8aae45256081a01e2134557145dbd6cbdad2b816..0e6cc1bfc360993a64fe50653433e0d9e3489810 100755
(executable)
--- a/
package/base-files/files/lib/upgrade/do_stage2
+++ b/
package/base-files/files/lib/upgrade/do_stage2
@@
-11,7
+11,7
@@
else
default_do_upgrade "$IMAGE"
fi
-if [ "$SAVE_CONFIG" -eq 1 ] && type 'platform_copy_config' >/dev/null 2>/dev/null; then
+if [ "$
UPGRADE_OPT_
SAVE_CONFIG" -eq 1 ] && type 'platform_copy_config' >/dev/null 2>/dev/null; then
platform_copy_config
fi