You made the right step into the right direction
and then you turned 90 degrees and went the
If you had examined the script pmcd_exec.sh, you
would have found the following line:
pwrmgr -c localhost act
This line keeps the box alive without any possible
trouble. You do not need to kill the pwrmgr process
or anything else.
Just call this line once within 3 minutes and the box
will stay alive in auto mode even without a client
sending WoL packets.
So a small script sending this line once every 3 minutes
until 8am on a weekday would have solved the problem
in a clean "Buffalo" like way. You then just have to start
this script whenever you need your box to stay on until
Another way to keep the box alive, which can also be
found in the script you spoted, is to create a file named
As long as this file exists, the box will stay alive.
The best solution (imho) would be to add the pwrmgr line
into the script you use to download your torrents as the
last line to execute when finished the download. The same
should be done in every other script you use to do stuff on
the box, you need the box to stay alive for.
Then you can just start the scripts and be sure that whichever
of them finishes last, will keep the box alive until then.
I made a small page in the wiki for this:http://buffalo.nas-central.org/wiki/Left_overs_for_%27X%27_and_%27V%27_series