I'm running Shibby's TomatoUSB mod (1.28.0000 MIPSR2-138 K26 USB AIO) on a Netgear wnr3500Lv2 router, with the built-in Transmission client (v2.92) enabled.
I've tried various Transmission config values including:
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/tmp/mnt/Torrents/TorrentDownloads/.scripts/runwhendone.sh",
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/bin/sh /tmp/mnt/Torrents/TorrentDownloads/.scripts/runwhendone.sh",
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "'/bin/sh' '/tmp/mnt/Torrents/TorrentDownloads/.scripts/runwhendone.sh'",
Code: Select all
Calling script "/bin/sh /tmp/mnt/Torrents/TorrentDownloads/.scripts/runwhendone.sh" (torrent.c:2118)
I've tried several scripts, right now I'm just using this:
Code: Select all
#!/bin/sh
echo "$TR_TORRENT_NAME is completed" >> /tmp/mnt/Torrents/TorrentDownloads/.scripts/test.log
Code: Select all
/bin/sh /tmp/mnt/Torrents/TorrentDownloads/.scripts/runwhendone.sh
When I use a "ls -l" to check the permissions for the script and test.log, the output is:
Code: Select all
-rwxrwxrwx 1 root root 103 Oct 6 22:20 runwhendone.sh
-rwxrwxrwx 1 root root 56 Oct 7 16:45 test.log
What have I forgotten?