The nodewatcher.sh got a diet. :)
Stats from DIR300
Old nodewatcher:
real 1m 43.86s
user 0m 5.59s
sys 0m 32.78s
Memory consumption.. over ~1.5MB
New nodewatcher:
real 0m 17.17s
user 0m 0.99s
sys 0m 4.33s
Memory consumption.. below ~0.5MB
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
Sometimes the interfaces have shorter names, then batctl adds some
spaces just before the iface name. With cut we can get this right.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
When the link_quality is below below 100 there is a little whitespace
between the value an the bracket like ( 99). This confused the awk
skript and is fixed by filtering all brackets.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
The new build_script uses a bsp-style interface. Now it's possible
to work on more than one board at the same time. Just select the
selected_bsp with the build_script and start over.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2012-09-29 18:58:44 +02:00
Renamed from root_file_system/default/etc/nodewatcher.sh (Browse further)