diff options
author | Jonathan Bennett <jbennett@incomsystems.biz> | 2017-10-13 23:39:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-13 23:39:51 -0500 |
commit | 4b7a00858ed6ac33cf546cee1d8bce375f63fe69 (patch) | |
tree | de1e0234529b2dd7e5c041c496f609f2fcf15da3 /applications/luci-app-fwknopd/root/etc | |
parent | c429ec729ee38204a028c6800149805670197142 (diff) |
luci-app-fwknop: Adds a check to not overwrite user configured keys
Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
Diffstat (limited to 'applications/luci-app-fwknopd/root/etc')
-rw-r--r-- | applications/luci-app-fwknopd/root/etc/uci-defaults/40_luci-fwknopd | 1 |
1 files changed, 1 insertions, 0 deletions
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 <<EOF add ucitrack fwknopd set ucitrack.@fwknopd[-1].init=fwknopd |