mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -36,7 +36,7 @@ reload()
|
|||||||
gen_confs()
|
gen_confs()
|
||||||
{
|
{
|
||||||
[ -f /tmp/access.conf.tmp ] && rm /tmp/access.conf.tmp
|
[ -f /tmp/access.conf.tmp ] && rm /tmp/access.conf.tmp
|
||||||
if [`uci get fwknopd.@access[0].PCAP_INTF` = ""]
|
if [ "`uci get fwknopd.@config[0].PCAP_INTF`" = ""]
|
||||||
then
|
then
|
||||||
. /lib/functions/network.sh
|
. /lib/functions/network.sh
|
||||||
network_get_physdev device wan
|
network_get_physdev device wan
|
||||||
|
|||||||
Reference in New Issue
Block a user