olsrd: hotplug: dont test if daemon is enabled, but look for a written PID-file. this solves the issue, that hotplug fires multiple restarts during boot for each upcoming interface (e.g. lo, lan, wan, wifi1, wifi2) which is racy somehow, but leaves hotplug itself working after normal startup. also reduce forking by directly sourcing '/etc/init.d/olsrd' via rc.common
Fix config creation for multiple LinkQualityMult entries in uci config
alfred: optionally bundle a lua script for generating a bat-hosts

Provide a lua script that uses alfred to propagate and collect all
interface mac + names, then generate a /tmp/bat-hosts file.
If there's already a (probably hand-made) /etc/bat-hosts it won't overwrite it,
but if there's none, it will symlink /etc/bat-hosts -> /tmp/bat-hosts

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Thanks-to: Joshua Head <joshua.head@outlook.com>
[sw@simonwunderlich.de: bumped release number]
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Merge pull request #10 from mmunz/upstream

Fix config creation for multiple LinkQualityMult entries in uci config
olsrd: hotplug-script: take config-file as marker for 'init-script-was-already-invoked-once' and not the pidfile: the pidfile ist not written if the daemon couldnt startup, e.g. because no interface was up yet and 'AllowNoInt' was not configured - thanks to bluse-blue for reporting this issue on a WDR4900v1