Commit graph

2 commits

Author SHA1 Message Date
Gui Iribarren
7b851e5f19 alfred: bat-hosts.lua: 'alfred -r' can fail with no output, so retry 3 times
Signed-off-by: Gui Iribarren <gui@altermundi.net>
2017-03-28 16:41:13 -03:00
Gui Iribarren
fc93a9c434 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>
2013-11-12 20:43:27 +01:00