Fwknop: Fix setting getting overwritten
A typo in the init file was causing a certain setting to be overwritten on every daemon start. Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
This commit is contained in:
parent
21fe2da3a6
commit
a105a0ce53
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ reload()
|
|||
gen_confs()
|
||||
{
|
||||
[ -f /tmp/access.conf.tmp ] && rm /tmp/access.conf.tmp
|
||||
if [`uci get fwknopd.@access[0].PCAP_INTF` = ""]
|
||||
if [ -z "$( uci get fwknopd.@config[0].PCAP_INTF )" ]
|
||||
then
|
||||
. /lib/functions/network.sh
|
||||
network_get_physdev device wan
|
||||
|
|
Loading…
Reference in a new issue