projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232d1ba
)
[packages] transmission: Remove obsolete options, remove bashizm.
author
Cezary Jackiewicz
<cezary@eko.one.pl>
Fri, 30 Sep 2011 18:35:20 +0000
(18:35 +0000)
committer
Cezary Jackiewicz
<cezary@eko.one.pl>
Fri, 30 Sep 2011 18:35:20 +0000
(18:35 +0000)
SVN-Revision: 28342
net/transmission/files/transmission.init
patch
|
blob
|
history
diff --git
a/net/transmission/files/transmission.init
b/net/transmission/files/transmission.init
index 4d84d6c89264e9f48aad372a01a82d4b2fb834fd..e4accc1a284629ab2458c5ae3ec3fc1d33aa4269 100644
(file)
--- a/
net/transmission/files/transmission.init
+++ b/
net/transmission/files/transmission.init
@@
-44,9
+44,8
@@
start_service() {
local ulimit_files=`ulimit -n`
# disabled?
- config_get_bool enable "$s" enable 0 # compatibility with prev version
config_get_bool enabled "$s" enabled 0
- [ "$enabled" =
= 0 -a "$enable" ==
0 ] && return 0
+ [ "$enabled" = 0 ] && return 0
config_get config_dir "$s" config_dir '/tmp/transmission'
mkdir -p "$config_dir"
config_get run_as_usr "$s" run_daemon_as_user 'root'