kopie van
https://git.openwrt.org/project/luci.git
gesynchroniseerd 2025-01-18 23:45:02 +00:00
6059f6a1a6
Remove setting values in `uci-defaults`, which can be changed from LuCI directly: * Keys can be generated from LuCI, so it is not necessary to set them. * ENABLE_IPT_FORWARDING and ENABLE_NAT_DNS options can be set in LuCI. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
14 regels
422 B
Bash
14 regels
422 B
Bash
#!/bin/sh
|
|
#-- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz>
|
|
#-- Licensed to the public under the GNU General Public License v2.
|
|
. /lib/functions/network.sh
|
|
|
|
# Clean-up - keytype/hkeytype is unnecessary now
|
|
if uci -q show fwknopd | grep \\.h\\?keytype > /dev/null; then
|
|
for keytype in $(uci -q show fwknopd | grep \\.h\\?keytype= | cut -d= -f1); do
|
|
uci delete $keytype
|
|
done
|
|
uci commit fwknopd
|
|
fi
|
|
|
|
exit 0
|