From 7d7ea6d3aa417d8b91c80f2e80cf552b9c16b681 Mon Sep 17 00:00:00 2001 From: floh1111 Date: Sat, 14 May 2011 10:34:51 +0000 Subject: [PATCH] Fixed Bug in nodewatcher which prevented from fetching router informations direct after the nodewatcher has been configured --- root_file_system/default/etc/nodewatcher.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/root_file_system/default/etc/nodewatcher.sh b/root_file_system/default/etc/nodewatcher.sh index f2dcdf3..88a24bf 100755 --- a/root_file_system/default/etc/nodewatcher.sh +++ b/root_file_system/default/etc/nodewatcher.sh @@ -174,6 +174,12 @@ assign() { fi uci commit + CRAWL_METHOD=`uci get nodewatcher.@crawl[0].method` + CRAWL_ROUTER_ID=`uci get nodewatcher.@crawl[0].router_id` + CRAWL_UPDATE_HASH=`uci get nodewatcher.@crawl[0].update_hash` + CRAWL_NICKNAME=`uci get nodewatcher.@crawl[0].nickname` + CRAWL_PASSWORD=`uci get nodewatcher.@crawl[0].password` + configure can_crawl=1