fff-hoods: Fix missing commit for hood name

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2017-10-18 20:27:22 +02:00 committed by Tim Niemeyer
parent 66cb34c802
commit 85510f25b3
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ if [ -s "$hoodfile" ]; then
fi
echo "Setting hood name: $hood"
uci set "system.@system[0].hood=$hood"
uci -q set "system.@system[0].hood=$hood"
uci -q commit system
if ! wifiDelAll; then
echo "Can't delete current wifi setup"