Fastdstart: replace fff with $project

This fixes #460

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Tim Niemeyer 2013-02-04 18:46:45 +01:00
parent ea8cade28c
commit c2c758d573
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ if ping -w5 -c3 "$test_internet_host1" &>/dev/null || ping -w5 -c3 "$test_intern
filenames=$(awk '/^####/ { gsub(/^####/, "", $0); gsub(/.conf/, "", $0); print $0; }' /tmp/fastd_${project}_output)
for file in $filenames; do
awk "{ if(a) print }; /^####$file.conf$/{a=1}; /^$/{a=0};" /tmp/fastd_fff_output > /etc/fastd/$project/peers/$file
awk "{ if(a) print }; /^####$file.conf$/{a=1}; /^$/{a=0};" /tmp/fastd_${project}_output > /etc/fastd/$project/peers/$file
done
#reload