I've made my own init.d script file so that LMS can autostart, or not, depending on a condition. It does this by conditionally calling the original script file, which I've moved to a different location. I just need an applet to set a flag now. And LMS can be started/stopped/restarted from the command line, so the applet can be made to call the corresponding commands.
Moving the 'logitechmediaserver' script file out of the /etc/init.d folder to a location where I can call it manually means that it's no longer a 'service', but I can still call it with the same arguments and it still seems to behave the same way. Does anyone know if this is going to cause me problems elsewhere? Future updates will likely put the script file back in /etc/init.d and I guess they will re-register that script as a service. In that case I'd need to unregister it, and move the script file to my alternative location, so that it can be called by my init.d script file. I'm not sure I'm up to automating all this, so I think updating LMS is likely to need a few manual steps. ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
