[PATCH v2 2/2] fff-alfred: do not use bat0 for master selection

Tim Niemeyer tim at tn-x.org
So Nov 12 14:48:47 CET 2017


During system boot, the dependency of alfred to the bat0
interface is problematic. In some circumstances (no eth mesh
and no wifi mesh), the mesh interfaces are disabled, the
bat0 interface is removed and the station mode is entered.

Because alfred is started after the station mode (current
boot order), it doesn't start up with the missing bat0 interface.

Signed-off-by: Tim Niemeyer <tim at tn-x.org>
---

Changes in v2:
- Based on uci-defaults patch

 src/packages/fff/fff-alfred/files/etc/uci-defaults/51-fff-alfred | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/packages/fff/fff-alfred/files/etc/uci-defaults/51-fff-alfred b/src/packages/fff/fff-alfred/files/etc/uci-defaults/51-fff-alfred
index e09281e..3df6764 100644
--- a/src/packages/fff/fff-alfred/files/etc/uci-defaults/51-fff-alfred
+++ b/src/packages/fff/fff-alfred/files/etc/uci-defaults/51-fff-alfred
@@ -6,7 +6,7 @@ uci batch <<EOF
   set alfred.alfred=alfred
   set alfred.alfred.interface='br-mesh'
   set alfred.alfred.mode='slave'
-  set alfred.alfred.batmanif='bat0'
+  set alfred.alfred.batmanif='none'
   set alfred.alfred.start_vis='0'
   set alfred.alfred.run_facters='0'
 EOF
-- 
2.1.4



Mehr Informationen über die Mailingliste franken-dev