Merge pull request #1392 from jp-bennett/patch-1

luci-app-fwknop:  Adds a check to not overwrite user configured keys
This commit is contained in:
Hannu Nyman 2017-10-15 19:16:37 +03:00 committed by GitHub
commit a47dd6ec05

View file

@ -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