On 10/14/2013 07:52 PM, Simon Wunderlich wrote:

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 <[email protected]>
Thanks-to: Joshua Head <[email protected]>

Thanks a lot, this sounds like a really good idea! As this will be part of the
openwrt package, I'd like to ask to make the bat-hosts.lua script optional and
selectable (like you can turn on/off vis). I'll do the same for other
(optional) services like gps.

Also, do you need any additional dependencies for lua?

not that i know of; an early version depended on nixio lib, but Joshua Head from vt-dev refactored the relevant functions and dropped that dep :)

Reply via email to