From 90e0643b295441c345a5a6bf37ddd0f6b957eb31 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Fri, 3 Nov 2017 22:55:10 +0100 Subject: [PATCH] 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 Reviewed-by: Christian Dresel Reviewed-by: Adrian Schmutzler --- 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 9c7f6c9..fffcc4b 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"