6 lines
181 B
Bash
Executable File
6 lines
181 B
Bash
Executable File
#!/bin/sh
|
|
|
|
pgrep "\stransmission-daemon$" || (transmission-daemon && notify-send "Starting transmission daemon")
|
|
sleep 8
|
|
transmission-remote -a "$@" && notify-send "Torrent added."
|