gharris999;436908 Wrote: 
> No, just from the plugin.  But it may be possible to configure the
> server to do that independently on shutdown.  What OS is the server
> running?  
> 
> If it's Linux, you could add CLI statements near the top of the
> /etc/init.d/halt script so that all players get pushed to SqueezeNetwork
> on shutdown.
> 
> An example script:
> 
> > 
Code:
--------------------
  >   > 
  > SCIp='127.0.0.1'
  > CLIPort='9090'
  > PLAYER1MAC='00:04:20:10:0a:0a'
  > PLAYER2MAC='00:04:20:10:0a:0b'
  > PLAYER3MAC='00:04:20:10:0a:0c'
  > 
  > for MAC in $PLAYER1MAC $PLAYER2MAC $PLAYER3MAC ; do echo $MAC connect 
www.squeezenetwork.com | nc -w 3 $SCIp $CLIPort ; done
  > 
  > 
--------------------
> > 
> You'll need to use your players' real MAC addresses, obviously.


Thanks for that, figured that'd be one way to do it, i'm using Windows
which is why I'll look into some kind of service shutdown procedure. 
Know how to do scripts on server shutdown but SC will probably be
finished before that happens so wouldn't switch the communications.

Just wanted to see if your plugin would do it, i'll try something
else.

Cheers


-- 
fredbloggs
------------------------------------------------------------------------
fredbloggs's Profile: http://forums.slimdevices.com/member.php?userid=11807
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to