Browse Source

darkstat: correction of a variable in the init script

This is to correct the variable name CONFIGSTR in the export_bool
sub-routine: the variable in line 26 was written CONFIGSTRING instead
of CONFIGSTR.

Signed-off-by: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
lilik-openwrt-22.03
Jean-Michel Lacroix 6 years ago
parent
commit
0f24ead01c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/darkstat/Makefile
  2. +1
    -1
      net/darkstat/files/darkstat.init

+ 1
- 1
net/darkstat/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=darkstat PKG_NAME:=darkstat
PKG_VERSION:=3.0.719 PKG_VERSION:=3.0.719
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_MAINTAINER:=Jean-Michel Lacroix <lacroix@lepine-lacroix.info> PKG_MAINTAINER:=Jean-Michel Lacroix <lacroix@lepine-lacroix.info>


+ 1
- 1
net/darkstat/files/darkstat.init View File

@ -23,7 +23,7 @@ export_bool () {
config_get_bool _loctmp "$section" "$option" config_get_bool _loctmp "$section" "$option"
if [ -n "$_loctmp" ]; then if [ -n "$_loctmp" ]; then
if [ 1 -eq "$_loctmp" ]; then if [ 1 -eq "$_loctmp" ]; then
CONFIGSTRING="$CONFIGSTRING${_keystr} "
CONFIGSTR="$CONFIGSTR${_keystr} "
fi fi
fi fi
} }


Loading…
Cancel
Save