From d12b473616b29216de518dea20b002ab28b4dc74 Mon Sep 17 00:00:00 2001 From: Francesco G Date: Mon, 6 Apr 2020 23:12:26 +0200 Subject: [PATCH] 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 (cherry picked from commit 4fcc44bc89559683daf56cb8342e8996a7147c98) --- net/transmission/Makefile | 2 +- net/transmission/files/transmission.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index 41fbef8456..6425334125 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -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 diff --git a/net/transmission/files/transmission.init b/net/transmission/files/transmission.init index 9f0f7958de..1af3bedde2 100644 --- a/net/transmission/files/transmission.init +++ b/net/transmission/files/transmission.init @@ -2,6 +2,7 @@ # Copyright (C) 2010-2015 OpenWrt.org START=99 +STOP=10 USE_PROCD=1 PROG="/usr/bin/transmission-daemon" -- 2.30.2