LinuxMCE Forums

General => Developers => Topic started by: jeangot on July 25, 2008, 07:47:25 am

Title: How can I reload the router via a shell (sh) script
Post by: jeangot on July 25, 2008, 07:47:25 am
Hello,

I have a script that is changing some contents in playlists nightly. The problem is, the content only refreshes in MDs after a "reload router". How can I reload the router via a shell script, either by running a command, or perhaps by sending some command to a network socket?

Thanks

Jean
Title: Re: How can I reload the router via a shell (sh) script
Post by: caiman on July 25, 2008, 10:49:44 am
Hi Jean,

try this:

Code: [Select]
/usr/pluto/bin/MessageSend localhost 0 -1000 7 1
Title: Re: How can I reload the router via a shell (sh) script
Post by: jeangot on July 25, 2008, 04:58:50 pm
Perfect, thanks!