From 2fee11611b14c9257599d97fca0ec804162adb9d Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Tue, 31 Dec 2019 19:21:10 +0100 Subject: [PATCH] Externalized custom post-up commands. --- entrypoint.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index b43d499..cf46c3b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,11 +28,7 @@ trap "shut_down" SIGINT SIGTERM SIGKILL # start service in background here start_openvpn sleep 3 -iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE -# L2TP route -ip route add 192.168.2.0/24 via 172.31.1.3 dev eth0 -#ip route add 192.168.1.0/24 via 192.168.2.1 dev eth0 -#bash +test -f /root/post-up.sh && /root/post-up.sh while true do