fff-alfred: do not use bat0 for master selection

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@tn-x.org>
Tested-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
Tim Niemeyer 2017-11-12 14:48:47 +01:00
parent 1b7bfb63cd
commit bdceb7bb6f
1 changed files with 1 additions and 1 deletions

View File

@ -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