diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 9e4f29f..3756edb 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -30,7 +30,7 @@ config_route() { # clone main route ip route show table main | while read -r route; do - ip route add $route table "$TABLE" + ip route add ${route%linkdown*} table "$TABLE" done # config default route