Browse Source

smstools3: Run in foreground

Allows procd to be able to stop the service.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
a3ab7a7931
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 7 additions and 8 deletions
  1. +6
    -7
      utils/smstools3/Makefile
  2. +1
    -1
      utils/smstools3/files/smstools3.init

+ 6
- 7
utils/smstools3/Makefile View File

@ -9,7 +9,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=smstools3
PKG_VERSION:=3.1.21
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
PKG_HASH:=a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_MAINTAINER:=Harald Geyer <harald@ccbib.org>
PKG_LICENSE:=GPL-2.0
@ -17,12 +22,6 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_PARALLEL:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
PKG_HASH:=a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk


+ 1
- 1
utils/smstools3/files/smstools3.init View File

@ -27,7 +27,7 @@ start_service() {
procd_open_instance
procd_set_param command $DAEMON -n MAINPROCESS -p$PIDFILE -i$INFOFILE
procd_set_param command $DAEMON -t -n MAINPROCESS -p$PIDFILE -i$INFOFILE
procd_set_param respawn
procd_set_param stdout 1


Loading…
Cancel
Save