Merge pull request #12687 from padre-lacroix/darkstat-ssh
darkstat: correct incompatbility with sshd
This commit is contained in:
commit
2cc5853125
2 changed files with 2 additions and 3 deletions
net/darkstat
|
@ -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:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_MAINTAINER:=Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
|
PKG_MAINTAINER:=Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ USE_PROCD=1
|
||||||
START=60
|
START=60
|
||||||
|
|
||||||
APP=darkstat
|
APP=darkstat
|
||||||
RUN_D=/var/empty
|
RUN_D=/var/darkstat
|
||||||
PID_F=$RUN_D/$APP.pid
|
PID_F=$RUN_D/$APP.pid
|
||||||
CONFIGNAME=darkstat
|
CONFIGNAME=darkstat
|
||||||
USER=nobody
|
USER=nobody
|
||||||
|
@ -30,7 +30,6 @@ export_bool () {
|
||||||
|
|
||||||
set_config_string(){
|
set_config_string(){
|
||||||
mkdir -p $RUN_D
|
mkdir -p $RUN_D
|
||||||
chown $USER:$GROUP $RUN_D
|
|
||||||
. /lib/functions/network.sh
|
. /lib/functions/network.sh
|
||||||
config_load $CONFIGNAME
|
config_load $CONFIGNAME
|
||||||
config_foreach build_config_string darkstat
|
config_foreach build_config_string darkstat
|
||||||
|
|
Loading…
Reference in a new issue