stripes/tsa

12 lines
163 B
Bash
Executable File

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