Page 3 of 7

Re: moServices and FW R1_133/R3_121

PostPosted: 25 Jan 2011, 18:58
by gush
FarVoice wrote:
gush wrote:R3_121 + moServices
I Need execut script before the start moServices, where put the file?

Put it anywhere (e.g. /usr/local/etc) and write it's start on /usr/local/etc/rcS before /usr/local/etc/mos/services start or /usr/local/etc/rc.wakeup


/usr/local/etc # cat rc.wakeup

#!/bin/sh
/usr/local/etc/mos/services start&
/usr/local/etc/watchdog.gus > /dev/null &

Before reboot , "watchdog.gus" not running
not figure when list PS :(

Re: moServices and FW R1_133/R3_121

PostPosted: 31 Jan 2011, 23:26
by gush
gush wrote:
FarVoice wrote:
gush wrote:R3_121 + moServices
I Need execut script before the start moServices, where put the file?

Put it anywhere (e.g. /usr/local/etc) and write it's start on /usr/local/etc/rcS before /usr/local/etc/mos/services start or /usr/local/etc/rc.wakeup




/usr/local/etc # cat rc.wakeup
#!/bin/sh
/usr/local/etc/mos/services start&
/usr/local/etc/watchdog.gus > /dev/null &

/usr/local/etc # cat watchdog.gus
#!/bin/sh
sleep 10
while [ true ]; do
sleep 10
if [ "`ps xaf|grep btpd|grep -v grep`" == "" ]; then
/usr/local/etc/mos/scripts/embtorrent start
fi
done


Before reboot , "watchdog.gus" not figure when list PS :(

please Help

Re: moServices and FW R1_133/R3_121

PostPosted: 31 Jan 2011, 23:34
by FarVoice
gush wrote:/usr/local/etc # cat rc.wakeup
#!/bin/sh
/usr/local/etc/mos/services start&
/usr/local/etc/watchdog.gus > /dev/null &

/usr/local/etc # cat watchdog.gus
#!/bin/sh
sleep 10
while [ true ]; do
sleep 10
if [ "`ps xaf|grep btpd|grep -v grep`" == "" ]; then
/usr/local/etc/mos/scripts/embtorrent start
fi
done


Before reboot , "watchdog.gus" not figure when list PS :(

please Help

rc.wakeup must be the next:
Code: Select all
#!/bin/sh
/usr/local/etc/watchdog.gus > /dev/null
/usr/local/etc/mos/services start&

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 17:32
by babb1
Hi,

Can I use something like nosleepHD2 with original FW and moservices?

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 17:47
by Olegin
Yes... Install moS and use.

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 18:20
by babb1
Olegin wrote:Yes... Install moS and use.


Thx.
How does it work? There is no www/cgi-bin/IpodCGI.cgi...

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 18:43
by Olegin
Read here https://sites.google.com/site/farvoice/about_en I hope you'll have no questions ;)

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 19:14
by babb1
Olegin wrote:Read here https://sites.google.com/site/farvoice/about_en I hope you'll have no questions ;)


last question ;)
It needs Remote Control module?

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 19:20
by Olegin
What do you mean as RC module? For what?

Re: moServices and FW R1_133/R3_121

PostPosted: 05 Feb 2011, 19:42
by babb1
https://sites.google.com/site/farvoice/about_en :
Since the revision 0.4 of the module is integrated anti-sleep