Author Topic: How can I reload the router via a shell (sh) script  (Read 2507 times)

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
How can I reload the router via a shell (sh) script
« 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

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: How can I reload the router via a shell (sh) script
« Reply #1 on: July 25, 2008, 10:49:44 am »
Hi Jean,

try this:

Code: [Select]
/usr/pluto/bin/MessageSend localhost 0 -1000 7 1

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: How can I reload the router via a shell (sh) script
« Reply #2 on: July 25, 2008, 04:58:50 pm »
Perfect, thanks!