mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-07 03:06:53 +08:00
fc93a9c434
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>
23 lines
442 B
Plaintext
23 lines
442 B
Plaintext
config ALFRED_NEEDS_lua
|
|
bool
|
|
|
|
config ALFRED_NEEDS_libgps
|
|
bool
|
|
|
|
config PACKAGE_ALFRED_VIS
|
|
bool "enable vis server for alfred"
|
|
depends on PACKAGE_alfred
|
|
default y
|
|
|
|
config PACKAGE_ALFRED_BATHOSTS
|
|
bool "enable autogeneration of /etc/bat-hosts"
|
|
depends on PACKAGE_alfred
|
|
select ALFRED_NEEDS_lua
|
|
default n
|
|
|
|
config PACKAGE_ALFRED_GPSD
|
|
bool "enable gpsd service for alfred"
|
|
depends on PACKAGE_alfred
|
|
select ALFRED_NEEDS_libgps
|
|
default n
|