x86: fix upgrade vars
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
230a107237
commit
0397f2d0c6
@ -79,7 +79,7 @@ platform_do_upgrade() {
|
||||
|
||||
sync
|
||||
|
||||
if [ "$UPGRADE_OPT_SAVE_PARTITIONS" = "1" ]; then
|
||||
if [ "$SAVE_PARTITIONS" = "1" ]; then
|
||||
get_partitions "/dev/$diskdev" bootdisk
|
||||
|
||||
echo "Extract boot sector from the image"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user