From patchwork Sun Jan 5 09:10:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fastd: make secret key updatesafe From: Christian Dresel X-Patchwork-Id: 1253 Message-Id: <20200105091009.22443-1-fff@chrisi01.de> To: franken-dev@freifunk.net Date: Sun, 5 Jan 2020 10:10:08 +0100 To use a whitelist easy, it is neccessary to make the fastd key updatesafe This patch safe the key to uci fff and recover it, if a key is after the update available Signed-off-by: Christian Dresel --- Changes in v2: - use variable in if - remove trailing whitespace - remove -q --- --- .../fff/fff-fastd/files/etc/uci-defaults/55_fff-fastd | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/packages/fff/fff-fastd/files/etc/uci-defaults/55_fff-fastd b/src/packages/fff/fff-fastd/files/etc/uci-defaults/55_fff-fastd index d53eb43..4bfc316 100644 --- a/src/packages/fff/fff-fastd/files/etc/uci-defaults/55_fff-fastd +++ b/src/packages/fff/fff-fastd/files/etc/uci-defaults/55_fff-fastd @@ -15,9 +15,18 @@ uci batch < /etc/fastd/fff/up.sh