From 4b7a00858ed6ac33cf546cee1d8bce375f63fe69 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Fri, 13 Oct 2017 23:39:51 -0500 Subject: luci-app-fwknop: Adds a check to not overwrite user configured keys Signed-off-by: Jonathan Bennett --- applications/luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-app-fwknopd/root/etc/uci-defaults') 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 65ef012450..9e5057e701 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 <