così va:
case $devtype in
"eth")
if [ $accept_clients -eq 1 ] && [
$eth_clients -eq 1 ]
then
{
uci add_list
network.clients.ifname=$device
}
fi
uci set network.$device=interface
uci set network.$device.ifname=$device
uci set network.$device.auto=1
if [ $eth_mesh -eq 1 ]
then
{
uci set
network.$device.proto=batadv
uci set network.$device.mesh=bat0
}
else
{
uci set network.$device.proto=none
}
fi
2013/5/14 Luca Postregna <[email protected]>
> non funziona, con eth_mesh attivo la eth0 non viene aggiunta alla bat0.
>
> credo l'errore sia nel fatto che, essendo eth_clients attivo, lo script
> non esegue mai l'esle di riga 288.
>
>
> 2013/5/14 Gioacchino Mazzurco <[email protected]>
>
>> On Tuesday 14 May 2013 15:18:34 Luca Postregna wrote:
>> > Lo disabilito solo quando la mesh è disattiva e il client è attivo.
>> Infatti
>> > in questo caso eth0 è già nel bridge.
>>
>> in ogni caso e' meglio che sia attiva con il suo ipv6 link local se si
>> impalla
>> qualcosa nel bridge cosi' riesci comunque a entrarenel device
>>
>
>
>
> --
> luca.postregna.name
> twitter.com/lucapost
>
--
luca.postregna.name
twitter.com/lucapost
_______________________________________________
Wireless mailing list
[email protected]
http://ml.ninux.org/mailman/listinfo/wireless