mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=transmission
|
PKG_NAME:=transmission
|
||||||
PKG_VERSION:=2.94
|
PKG_VERSION:=2.94
|
||||||
PKG_RELEASE:=15
|
PKG_RELEASE:=16
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master
|
PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# Copyright (C) 2010-2015 OpenWrt.org
|
# Copyright (C) 2010-2015 OpenWrt.org
|
||||||
|
|
||||||
START=99
|
START=99
|
||||||
|
STOP=10
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
PROG="/usr/bin/transmission-daemon"
|
PROG="/usr/bin/transmission-daemon"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user