forked from freifunk-franken/firmware
fff-hoods: set hood to none if on station mode
Signed-off-by: Tim Niemeyer <tim@tn-x.org> Reviewed-by: Christian Dresel <fff@chrisi01.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
parent
00767f92ad
commit
c54fcf9b86
|
@ -98,6 +98,9 @@ else
|
|||
rm -f "$hoodfilecopy" # delete this, so interfaces are recreated if reconnect with unchanged hood file takes place
|
||||
rm -f "$sectorcopy" # always delete: no broadcast for isolated device
|
||||
rm -f "$sectortmp"
|
||||
|
||||
uci -q del "system.@system[0].hood"
|
||||
uci -q commit system
|
||||
|
||||
sleep 30 # Wait for the config AP, which may be created at the same time as this script has started
|
||||
|
||||
|
|
Loading…
Reference in New Issue