From 79d12ac3f1b0c338af5a14086ac363cd057a2d82 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Fri, 28 Sep 2012 20:17:47 +0200 Subject: [PATCH] Add Port to fastd bind Add line break; just looks better. Signed-off-by: Tim Niemeyer --- root_file_system/default/etc/fastdstart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root_file_system/default/etc/fastdstart.sh b/root_file_system/default/etc/fastdstart.sh index ddc9dec..7aead8e 100755 --- a/root_file_system/default/etc/fastdstart.sh +++ b/root_file_system/default/etc/fastdstart.sh @@ -58,13 +58,14 @@ then echo 'batctl if add $1' >> /etc/fastd/$project/up.sh secret=$(fastd --generate-key 2>&1 | grep -i secret | awk '{ print $2 }') + echo "" >> /etc/config/fastd echo " config fastd $project" >> /etc/config/fastd echo " option enabled 1" >> /etc/config/fastd echo " list config_peer_dir '/etc/fastd/$project/peers'" >> /etc/config/fastd echo " option syslog_level 'verbose'" >> /etc/config/fastd echo " option method null" >> /etc/config/fastd echo " option mode 'tap'" >> /etc/config/fastd - echo " option bind '0.0.0.0'" >> /etc/config/fastd + echo " option bind '0.0.0.0:10000'" >> /etc/config/fastd echo " option interface '${project}VPN'" >> /etc/config/fastd echo " option mtu 1426" >> /etc/config/fastd echo " option secret '$secret'" >> /etc/config/fastd