From patchwork Tue May 3 19:24:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] fastdstart: source fff-vpn if exists From: Robert Langhammer X-Patchwork-Id: 95 Message-Id: <1462303499-22494-4-git-send-email-rlanghammer@web.de> To: franken-dev@freifunk.net Date: Tue, 3 May 2016 21:24:58 +0200 Signed-off-by: Robert Langhammer --- 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