transmission: add init file STOP directive

Transmission should stop early on system shutdown to avoid
for example fstab unmount disks when transmission is writing.

Signed-off-by: Francesco G <gfrancesco@users.noreply.github.com>
(cherry picked from commit 4fcc44bc89)
This commit is contained in:
Francesco G 2020-04-06 23:12:26 +02:00 committed by Rosen Penev
parent 54372522f6
commit d12b473616
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=transmission
PKG_VERSION:=2.94
PKG_RELEASE:=13
PKG_RELEASE:=16
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master

View file

@ -2,6 +2,7 @@
# Copyright (C) 2010-2015 OpenWrt.org
START=99
STOP=10
USE_PROCD=1
PROG="/usr/bin/transmission-daemon"