From c2c758d5733a65c273fd0e3cba6055c11c016eb0 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Mon, 4 Feb 2013 18:46:45 +0100 Subject: [PATCH] Fastdstart: replace fff with $project This fixes #460 Signed-off-by: Tim Niemeyer --- bsp/default/root_file_system/etc/fastdstart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/default/root_file_system/etc/fastdstart.sh b/bsp/default/root_file_system/etc/fastdstart.sh index 17ba748b..cefde4f8 100755 --- a/bsp/default/root_file_system/etc/fastdstart.sh +++ b/bsp/default/root_file_system/etc/fastdstart.sh @@ -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