Browse Source

gnunet: use new extra_command function definition

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
0869415ce7
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      net/gnunet/Makefile
  2. +2
    -1
      net/gnunet/files/gnunet.init

+ 1
- 1
net/gnunet/Makefile View File

@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gnunet PKG_NAME:=gnunet
PKG_VERSION:=0.13.3 PKG_VERSION:=0.13.3
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/gnunet PKG_SOURCE_URL:=@GNU/gnunet
PKG_HASH:=318e06c4134d1a8ce3b4385d82b11316eaaeb9a4dbc5d4b646453dfc53199296 PKG_HASH:=318e06c4134d1a8ce3b4385d82b11316eaaeb9a4dbc5d4b646453dfc53199296


+ 2
- 1
net/gnunet/files/gnunet.init View File

@ -9,7 +9,8 @@ PROG=/usr/lib/gnunet/libexec/gnunet-service-arm
GNUNET_HOME=/var/run/gnunet GNUNET_HOME=/var/run/gnunet
# LOGFILE=$GNUNET_HOME/gnunet.log # LOGFILE=$GNUNET_HOME/gnunet.log
CONFIGFILE=$GNUNET_HOME/gnunet.conf CONFIGFILE=$GNUNET_HOME/gnunet.conf
EXTRA_COMMANDS="restart_transport"
extra_command "restart_transport" "Restart transport"
prepare_config() { prepare_config() {
local had_exit_service=0; local had_exit_service=0;


Loading…
Cancel
Save