Skip to content
Snippets Groups Projects
Commit c54fcf9b authored by Tim Niemeyer's avatar Tim Niemeyer
Browse files

fff-hoods: set hood to none if on station mode


Signed-off-by: default avatarTim Niemeyer <tim@tn-x.org>
Reviewed-by: default avatarChristian Dresel <fff@chrisi01.de>
Reviewed-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: default avatarRobert Langhammer <rlanghammer@web.de>
parent 00767f92
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,9 @@ else ...@@ -98,6 +98,9 @@ else
rm -f "$hoodfilecopy" # delete this, so interfaces are recreated if reconnect with unchanged hood file takes place 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 "$sectorcopy" # always delete: no broadcast for isolated device
rm -f "$sectortmp" 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 sleep 30 # Wait for the config AP, which may be created at the same time as this script has started
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment