From 4b7a00858ed6ac33cf546cee1d8bce375f63fe69 Mon Sep 17 00:00:00 2001
From: Jonathan Bennett <jbennett@incomsystems.biz>
Date: Fri, 13 Oct 2017 23:39:51 -0500
Subject: [PATCH] luci-app-fwknop:  Adds a check to not overwrite user
 configured keys

Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
---
 .../luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/applications/luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd b/applications/luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd
index 65ef01245..9e5057e70 100644
--- a/applications/luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd
+++ b/applications/luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd
@@ -3,6 +3,7 @@
 #-- Licensed to the public under the GNU General Public License v2.
 . /lib/functions/network.sh
 
+[ "$(uci -q get fwknopd.@access[0].KEY)" != "CHANGEME" ] && exit 0
 uci batch <<EOF
 	add ucitrack fwknopd
 	set ucitrack.@fwknopd[-1].init=fwknopd
-- 
2.25.1