viewtopic.php?f=50&t=42917#p189969
I had another problem with the fstab and uTorrent and I solved with this workaround:
http://forum.utorrent.com/viewtopic.php?id=97660
Now uTorrent works fine on my 509.
And this is the script I use to start uTorrent:
- Code: Select all
#!/bin/sh
CHDIR=/share/MD0_DATA/.qpkg/utorrent
NAME=utserver
LAUNCH="$CHDIR/lib/ld-linux.so.2 --library-path $CHDIR/lib $CHDIR/$NAME -pidfile $CHDIR/utserver.pid -daemon"
STOP_TIMEOUT=5
case "$1" in
start)
/sbin/log_tool -a "Starting uTorrent" -t 0 -u uTorrent -p 192.168.1.100 -m NAS
cd $CHDIR
$LAUNCH
/sbin/log_tool -a "End Starting uTorrent" -t 0 -u uTorrent -p 192.168.1.100 -m NAS
;;
stop)
/sbin/log_tool -a "Stopping uTorrent" -t 0 -u uTorrent -p 192.168.1.100 -m NAS
cd $CHDIR
kill -9 `cat $CHDIR/utserver.pid`
sleep 5
rm $CHDIR/utserver.pid
/sbin/log_tool -a "End Stopping uTorrent" -t 0 -u uTorrent -p 192.168.1.100 -m NAS
;;
restart)
/sbin/log_tool -a "ReStarting uTorrent" -t 0 -u uTorrent -p 192.168.1.100 -m NAS
cd $CHDIR
kill -9 `cat $CHDIR/utserver.pid`
sleep 5
rm $CHDIR/utserver.pid
$LAUNCH
/sbin/log_tool -a "End ReStarting uTorrent" -t 0 -u uTorrent -p 192.168.1.100 -m NAS
;;
*)
echo "Usage: cd $CHDIR than ./uts-script.sh {start|stop|restart}"
exit 2
;;
esac
exit 0








News