Closed GoogleCodeExporter closed 9 years ago
Hello again!
Seems a complete power cycle of the router AND the hard drive for a few seconds
will resolve the issue. However, the problem will randomly come back after a
while and power cycle is quite problematic when not on site...
Original comment by julioqc47
on 9 Dec 2012 at 1:36
I'm not sure, but it seems when you install transmission package from Entware
repository, it creates /opt/etc/init.d/S88transmission. This file is being
executed earlier than /opt/etc/init.d/S95transmission.
Be aware when you use Entware: there are no 'start' and 'stop' functions in
/opt/etc/init.d/S88transmission! This means that you'll get errors when trying
to unmount USB disk. There also will be errors on reboot as USB disk can't be
unmounted properly (transmission daemon won't be stopped). This will cause
problems with USB disk in future.
Again - I can be wrong, and there can be such functions in
/opt/etc/init.d/rc.func. But most possibly, they won't be executed on calling
device stop.
So, you can use Entware, but it is better to remove
/opt/etc/init.d/S88transmission.
Use /opt/etc/init.d/S95transmission instead.
To all of you guys: when you install any packages from any repository to USB
disk of the router, please make sure that software is being correcly stopped on
USB unmount!!
Check script in /opt/etc/init.d/ that is installed with package.
Original comment by d...@soulblader.com
on 9 Dec 2012 at 5:12
Well, erasing all traces of previous installs of Optware, S95transmission
doesnt exist anymore in init.d
Having a look at the script heres what there is:
#!/bin/sh
ENABLED=yes
PROCS=transmission-daemon
ARGS="-g /opt/etc/transmission"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/u
sr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
So you are right, theres no stop/start function but the command will still work
fine when I use it (did a few times to modify settings.json on the fly).
Unmounting doesnt return any errors I could notice but then again it could
simply not be logged.
Any way to retrieve a copy of S95transmission so I can "merge" both and resolve
the issue permanently?
Original comment by julioqc47
on 9 Dec 2012 at 5:36
I think yes you can...
So you can try:
# rm /opt/etc/S88transmission
# cp /etc_ro/opt/K95transmission /opt/etc/S95transmission
and use /opt/etc/S95transmission as daemon start script
or even shorter:
# cat /etc_ro/opt/K95transmission > /opt/etc/S88transmission
and use /opt/etc/S88transmission as daemon start script
anyway script content will be the same
Original comment by d...@soulblader.com
on 9 Dec 2012 at 6:21
Sweet! That works just great =D
Ill see how long this will last but i'm confident!
Thank you sir!
Original comment by julioqc47
on 9 Dec 2012 at 6:33
Original comment by andy.pad...@gmail.com
on 9 Dec 2012 at 6:41
how so amigo?
Original comment by julioqc47
on 9 Dec 2012 at 6:42
You are welcome! And what would you like to be fixed here?.. =)
This is not a bug.
Original comment by d...@soulblader.com
on 9 Dec 2012 at 9:29
Original issue reported on code.google.com by
julioqc47
on 8 Dec 2012 at 1:52Attachments: