projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: when copying a backup file always specify dest name
[openwrt/openwrt.git]
/
target
/
linux
/
mvebu
/
base-files
/
lib
/
upgrade
/
uDPU.sh
diff --git
a/target/linux/mvebu/base-files/lib/upgrade/uDPU.sh
b/target/linux/mvebu/base-files/lib/upgrade/uDPU.sh
index f87ff4f9ca0550f0f25955b392ca0616ffa1d280..dbcff5836803f00309a54803c5d4dd0a9bd66a26 100644
(file)
--- a/
target/linux/mvebu/base-files/lib/upgrade/uDPU.sh
+++ b/
target/linux/mvebu/base-files/lib/upgrade/uDPU.sh
@@
-150,7
+150,7
@@
platform_do_upgrade_uDPU() {
platform_copy_config_uDPU() {
# Config is saved on the /misc partition and copied on the rootfs after the reboot
if [ -f "$CONF_TAR" ]; then
- cp -f "$CONF_TAR"
/misc
+ cp -f "$CONF_TAR"
"/misc/$BACKUP_FILE"
sync
fi
}