forked from freifunk-franken/firmware
fff-babel: Use bird2 implementation by default
The bird2 babel implementation has proven to be the more reliable option over babeld, especially on low-end hardware. It has been working flawlessly on many test installations. Use bird2 instead of babeld, if no implementation is specified via uci. While at it, use the automatically incrementing $(COMMITCOUNT) for PKG_RELEASE. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Christian Dresel <freifunk@dresel.systems>
This commit is contained in:
parent
e695b2a87a
commit
2085c5e4af
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=fff-babel-bird2
|
PKG_NAME:=fff-babel-bird2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=$(COMMITCOUNT)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=fff-babel
|
PKG_NAME:=fff-babel
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=$(COMMITCOUNT)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
implementation=$(uci -q get babelimpl.impl.impl)
|
implementation=$(uci -q get babelimpl.impl.impl)
|
||||||
[ -z "$implementation" ] && implementation=babeld
|
[ -z "$implementation" ] && implementation=bird2
|
||||||
|
|
||||||
. /lib/functions/fff/babeldaemon/$implementation
|
. /lib/functions/fff/babeldaemon/$implementation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue