X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fsbin%2Fsysupgrade;fp=package%2Fbase-files%2Ffiles%2Fsbin%2Fsysupgrade;h=15514159b35fd22f4feb2fdec4e69d48815d8d28;hb=b534ba96110012d2697d19d71b7dcd60bd4cd375;hp=001e6444760628c350213983a4d0505ac5ef1ec2;hpb=2b1a6d263cc84ac6189447fe971b52d8b34cea51;p=openwrt%2Fstaging%2Fmkresin.git diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 001e644476..15514159b3 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -369,6 +369,9 @@ else ubus call system sysupgrade "{ \"prefix\": $(json_string "$RAM_ROOT"), \"path\": $(json_string "$IMAGE"), - \"command\": $(json_string "$COMMAND") + \"command\": $(json_string "$COMMAND"), + \"options\": { + \"save_config\": $SAVE_CONFIG + } }" fi