From 67cc68b6f81b9d7cf561ddeb0237db47cb16b279 Mon Sep 17 00:00:00 2001 From: Dmitriy Safronov Date: Wed, 15 Jan 2025 15:01:30 +0400 Subject: [PATCH] exclude uci-defaults Signed-off-by: Dmitriy Safronov --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 10a21c8..ae99cf2 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,4 +15,4 @@ rsync -a -og --chown=root:root /root/openwrt/ /root/.ssh/ || die "Couldn't rsy chown -R root:root /root/.ssh || die "Couldn't change ownership for user ssh settings" chmod -R a-rwx,u+rwX /root/.ssh || die "Couldn't change access rights for user ssh settings" -rsync -acxv --delete-after --exclude '*-opkg' -e "ssh -p ${OPENWRT_SSH_PORT:-22}" "${OPENWRT_SSH_HOST:-root@192.168.1.1}:/overlay/upper/" overlay/ || die "Couldn't rsync router config" +rsync -acxv --delete-after --exclude '*-opkg' --exclude '/etc/uci-defaults/*' -e "ssh -p ${OPENWRT_SSH_PORT:-22}" "${OPENWRT_SSH_HOST:-root@192.168.1.1}:/overlay/upper/" overlay/ || die "Couldn't rsync router config" -- GitLab