From: Jonathan Bennett Date: Sat, 14 Oct 2017 04:39:51 +0000 (-0500) Subject: luci-app-fwknop: Adds a check to not overwrite user configured keys X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b7a0085;p=oweals%2Fluci.git luci-app-fwknop: Adds a check to not overwrite user configured keys Signed-off-by: Jonathan Bennett --- 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 <