This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-27 02:31:42 +00:00
|
|
|
#!/bin/sh
|
2020-03-29 19:16:35 +00:00
|
|
|
|
2020-06-23 18:03:54 +00:00
|
|
|
TRANS_PID=$(pidof transmission-daemon)
|
|
|
|
|
|
|
|
if [ "$TRANS_PID" ]; then
|
|
|
|
transmission-remote --add "$@"
|
|
|
|
else
|
|
|
|
tsd
|
|
|
|
sleep 8
|
|
|
|
transmission-remote --add "$@"
|
|
|
|
fi
|