2 #-- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz>
3 #-- Licensed to the public under the GNU General Public License v2.
7 set ucitrack.@fwknopd[-1].init=fwknopd
11 uci set fwknopd.@access[0].keytype='Base 64 key'
12 uci set fwknopd.@access[0].hkeytype='Base 64 key'
13 uci set fwknopd.@access[0].KEY_BASE64=`fwknopd --key-gen | awk '/^KEY/ {print $2;}'`
14 uci set fwknopd.@access[0].HMAC_KEY_BASE64=`fwknopd --key-gen | awk '/^HMAC/ {print $2;}'`
16 rm -f /tmp/luci-indexcache