stripes/tsa

12 lines
163 B
Plaintext
Raw Normal View History

#!/bin/sh
TRANS_PID=$(pidof transmission-daemon)
if [ "$TRANS_PID" ]; then
transmission-remote --add "$@"
else
tsd
sleep 8
transmission-remote --add "$@"
fi