projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: don't hardcode "sysupgrade.tgz" file name
[openwrt/openwrt.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
nand.sh
diff --git
a/package/base-files/files/lib/upgrade/nand.sh
b/package/base-files/files/lib/upgrade/nand.sh
index fbc2b5c19a07ff91f67a7ffdccaa63d4b6edc5a8..e7d7bf8d13ae43e330abefbc9c678707e6a03bc9 100644
(file)
--- a/
package/base-files/files/lib/upgrade/nand.sh
+++ b/
package/base-files/files/lib/upgrade/nand.sh
@@
-109,7
+109,7
@@
nand_restore_config() {
rmdir /tmp/new_root
return 1
fi
- mv "$1" "/tmp/new_root/
sysupgrade.tgz
"
+ mv "$1" "/tmp/new_root/
$BACKUP_FILE
"
umount /tmp/new_root
sync
rmdir /tmp/new_root