2010-03-28, 11:37
Hi guys
I installed Ubuntu Minimal command line on my new Zotac nettop. Then I used the "XBMC Complete Installer", from: http://sourceforge.net/projects/xci/
It worked perfectly! - With no linux experience I am now running XBMC on this small linux box - sweet.
I have all my videos stored on my Windows Home Server. I have now managed to send a WOL package to my server when my Zotac boots, using the information from this thread: http://forum.xbmc.org/showthread.php?tid=62283
I have set up a library rescan and cleanup whenever XBMC starts, so I would like to make sure that my server is up and running before launching XBMC. Therefore I tried putting a sleep command into the /etc/rc.local file just after sending the WOL package. This does however not seem to delay XBMC from being started.
My question is now, where have the "XBMC Complete Installer" script specified that XBMC should be started when booting? - It is not in the /etc/rc.local file, so there must be another script or chron job (or whatever it is called) that is starting XBMC. I was thinking that I could maybe edit that script, and put the WOL package command into that script instead of in the /etc/rc.local file. Then I could use a sleep command to delay starting XBMC. An even better solution would be if I could somehow have a loop that checks if my server is reachable after sending the WOL package, and before starting XBMC. That way I could make sure that my server is ready when XBMC rescans and cleans the library.
Can someone help me figure out a way to do this? - Hopefully give me some pointers and ideas as to how I can make this setup work.
Thanks A LOT in advance
Greetings
Spas
I installed Ubuntu Minimal command line on my new Zotac nettop. Then I used the "XBMC Complete Installer", from: http://sourceforge.net/projects/xci/
It worked perfectly! - With no linux experience I am now running XBMC on this small linux box - sweet.
I have all my videos stored on my Windows Home Server. I have now managed to send a WOL package to my server when my Zotac boots, using the information from this thread: http://forum.xbmc.org/showthread.php?tid=62283
I have set up a library rescan and cleanup whenever XBMC starts, so I would like to make sure that my server is up and running before launching XBMC. Therefore I tried putting a sleep command into the /etc/rc.local file just after sending the WOL package. This does however not seem to delay XBMC from being started.
My question is now, where have the "XBMC Complete Installer" script specified that XBMC should be started when booting? - It is not in the /etc/rc.local file, so there must be another script or chron job (or whatever it is called) that is starting XBMC. I was thinking that I could maybe edit that script, and put the WOL package command into that script instead of in the /etc/rc.local file. Then I could use a sleep command to delay starting XBMC. An even better solution would be if I could somehow have a loop that checks if my server is reachable after sending the WOL package, and before starting XBMC. That way I could make sure that my server is ready when XBMC rescans and cleans the library.
Can someone help me figure out a way to do this? - Hopefully give me some pointers and ideas as to how I can make this setup work.
Thanks A LOT in advance
Greetings
Spas