[PATCH v2] fff-hoods: move hiddenapfile variable
Tim Niemeyer
tim at tn-x.org
Fr Nov 3 22:55:10 CET 2017
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 at tn-x.org>
---
Changes in v2:
- move variable from lib/functions/fff/keyxchange
src/packages/fff/fff-hoods/files/lib/functions/fff/keyxchange | 1 -
src/packages/fff/fff-hoods/files/usr/sbin/configurehood | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/packages/fff/fff-hoods/files/lib/functions/fff/keyxchange b/src/packages/fff/fff-hoods/files/lib/functions/fff/keyxchange
index 9aeb434..30963ae 100644
--- a/src/packages/fff/fff-hoods/files/lib/functions/fff/keyxchange
+++ b/src/packages/fff/fff-hoods/files/lib/functions/fff/keyxchange
@@ -6,7 +6,6 @@
hoodfile="/tmp/keyxchangev2data"
hoodfilecopy="/www/hood/keyxchangev2data"
-hiddenapfile="/tmp/hiddenapflag"
getJsonPath() {
jsonfile=""
diff --git a/src/packages/fff/fff-hoods/files/usr/sbin/configurehood b/src/packages/fff/fff-hoods/files/usr/sbin/configurehood
index 42eb966..b10d210 100755
--- a/src/packages/fff/fff-hoods/files/usr/sbin/configurehood
+++ b/src/packages/fff/fff-hoods/files/usr/sbin/configurehood
@@ -9,6 +9,7 @@
sectorlocal=/etc/sectorfile
sectortmp=/tmp/sectorfile
sectorcopy=/www/hood/sectorfile
+hiddenapfile=/tmp/hiddenapflag
rm -f "$hoodfile"
--
2.11.0
Mehr Informationen über die Mailingliste franken-dev