Hello, here are the results:
Code:
[admin@asus root]$ cat /opt/etc/init.d/S90transmission-daemon
#!/bin/sh
#
# Startup script for transmission-daemon
case $1 in
start)
# update blocklist
echo "updating blocklist, ~4MB"
cd /tmp/harddisk/transmission/config/blocklists
wget -q http://www.bluetack.co.uk/config/level1.gz
if test -f level1.gz; then
rm level1
gunzip level1.gz
chmod go+r level1
fi
# start transmission
echo "starting transmission"
/opt/bin/transmission-daemon -g
/tmp/harddisk/transmission/config
;;
stop)
if [ -n "`pidof transmission-daemon`" ]; then
kill -9 `pidof transmission-daemon`
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 (start|stop|restart)"
exit 1
esac
[admin@asus root]$
and:
Code:
[admin@asus root]$ /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
/opt/bin/transmission-daemon: illegal option -- g
usage: transmission-daemon [-dfh] [-p file] [-s file]
Transmission 0.82 (r) http://transmission.m0k.org/
A free, lightweight BitTorrent client with a simple, intuitive interface
-d --debug Print data send and received, implies -f
-f --foreground Run in the foreground and log to stderr
-h --help Display this message and exit
-p --pidfile <path> Save the process id in a file at <path>
-s --socket <path> Place the socket file at <path>
To add torrents or set options, use the transmission-remote program.
[admin@asus root]$