diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-10-15 19:16:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 19:16:37 +0300 |
commit | a47dd6ec057c1559c3a2effc41ae9dcc84856ebc (patch) | |
tree | de1e0234529b2dd7e5c041c496f609f2fcf15da3 /applications | |
parent | c429ec729ee38204a028c6800149805670197142 (diff) | |
parent | 4b7a00858ed6ac33cf546cee1d8bce375f63fe69 (diff) |
Merge pull request #1392 from jp-bennett/patch-1
luci-app-fwknop: Adds a check to not overwrite user configured keys
Diffstat (limited to 'applications')
-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 |