aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh b/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
index ba8e825956..c7eca2f060 100644
--- 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 /tmp/sysupgrade.tgz /tmp/new_root/
+ cp -v "$CONF_TAR" /tmp/new_root/
umount /tmp/new_root
}