1 #!/bin/sh /etc/rc.common
3 # Fwknop is developed primarily by the people listed in the file 'AUTHORS'.
4 # Copyright (C) 2009-2014 fwknop developers and contributors. For a full
5 # list of contributors, see the file 'CREDITS'.
10 FWKNOPD_BIN
=/usr
/sbin
/fwknopd
43 if [ "$type" = "global" ]
48 if [ "$option" = "uci_enabled" ] && [ "$value" -eq 1 ] ; then
49 > /etc
/fwknop
/fwknopd.conf
50 > /etc
/fwknop
/access.conf
54 elif [ "$type" = "config" ]
59 if [ $UCI_ENABLED ]; then
60 echo "${option//_/-} $value" >> /etc
/fwknop
/fwknopd.conf
#writing each option to fwknopd.conf
63 elif [ "$type" = "SOURCE" ]
65 echo "${type//_/-} $name" >> /etc
/fwknop
/access.conf
#writing each option to access.conf
69 if [ $UCI_ENABLED ]; then
70 echo "${option//_/-} $value" >> /etc
/fwknop
/access.conf
#writing each option to access.conf
81 if [ -f /etc
/config
/fwknopd
]; then