diff --git a/entrypoint.sh b/entrypoint.sh index 167863bc1d955a21dcf54c763efedc5879e9efc7..3e17f70b3a5c61a55f2373cbb8b0d5e0691c2208 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,7 +13,6 @@ rsync -a -og --chown=openwrt:openwrt /opt/ /home/openwrt/.ssh/ || die "Couldn't chown -R openwrt:openwrt /home/openwrt/.ssh || die "Couldn't change ownership for user ssh settings" chmod -R a-rwx,u+rwX /home/openwrt/.ssh || die "Couldn't change access rights for user ssh settings" -#exec sudo -u openwrt -g openwrt -E -H /sync.sh || die "Couldn't run sync script as user" 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" find overlay/ -type d -empty -exec touch {}/.gitkeep \;