fff-hoods: move hiddenapfile variable

Move the variable definition to the implementation file. This is more
intuitive and the variable is not used otherwise.

Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Tim Niemeyer 2017-11-03 22:55:10 +01:00
parent 72942057bc
commit 90e0643b29
2 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,6 @@
hoodfile="/tmp/keyxchangev2data"
hoodfilecopy="/www/hood/keyxchangev2data"
hiddenapfile="/tmp/hiddenapflag"
getJsonPath() {
jsonfile=""

View File

@ -9,6 +9,7 @@
sectorlocal=/etc/sectorfile
sectortmp=/tmp/sectorfile
sectorcopy=/www/hood/sectorfile
hiddenapfile=/tmp/hiddenapflag
rm -f "$hoodfile"