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.
|
#!/bin/sh
|
|
|
|
TRANS_PID=$(pidof transmission-daemon)
|
|
|
|
if [ "$TRANS_PID" ]; then
|
|
transmission-remote --add "$@"
|
|
else
|
|
tsd
|
|
sleep 8
|
|
transmission-remote --add "$@"
|
|
fi
|