[PATCH 3/4] fastdstart: source fff-vpn if exists

Robert Langhammer rlanghammer at web.de
Di Mai 3 21:24:58 CEST 2016


Signed-off-by: Robert Langhammer <rlanghammer at web.de>
---
 src/packages/fff/fff-fastd/files/usr/sbin/fastdstart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/packages/fff/fff-fastd/files/usr/sbin/fastdstart b/src/packages/fff/fff-fastd/files/usr/sbin/fastdstart
index 611a3f8..2d5f0c0 100755
--- a/src/packages/fff/fff-fastd/files/usr/sbin/fastdstart
+++ b/src/packages/fff/fff-fastd/files/usr/sbin/fastdstart
@@ -85,7 +85,7 @@ if ping -w5 -c3 "$test_ipv4_host1" &>/dev/null ||
 		awk "{ if(a) print }; /^####$file.conf$/{a=1}; /^$/{a=0};" /tmp/fastd_${project}_output | sed 's/ float;/;/g' > /etc/fastd/$project/peers/$file
 		echo 'float yes;' >> /etc/fastd/$project/peers/$file
 	done
-
+	[ -f /usr/sbin/fff-vpn ] && . /usr/sbin/fff-vpn
 	#reload
 	kill -HUP $(cat /var/run/fastd.$project.pid)
 else
-- 
2.1.4




Mehr Informationen über die Mailingliste franken-dev