Commit 28320e41 authored by Дмитрий Сафронов's avatar Дмитрий Сафронов
Browse files

Merge branch 'exclude-uci-defaults' into 'main'

exclude uci-defaults

See merge request !2
parents 51d5be10 ac0fa97c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"