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
/
ipq806x
/
base-files
/
lib
/
upgrade
/
zyxel.sh
diff --git
a/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
b/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
index c7eca2f060253154ec1b205273eb67bf31994da5..a86389c549229ecab6e525b54ef7ce5aa4c1cec8 100644
(file)
--- a/
target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
+++ b/
target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
@@
-60,7
+60,7
@@
zyxel_do_flash() {
mkdir /tmp/new_root
mount -t ext4 $loopdev /tmp/new_root && {
echo "Saving config to rootfs_data at position ${offset}."
- cp -v "$CONF_TAR"
/tmp/new_root/
+ cp -v "$CONF_TAR"
"/tmp/new_root/$BACKUP_FILE"
umount /tmp/new_root
}