On Thu, Aug 30, 2007 at 10:57:22AM +0200, Francisco Eduardo Álvarez Solano wrote: > if [ $GUIDE -ot $TMP ] # If TV.xml is outdated > then > > while [ 1 ] # we wait till internet is available > > do > ping -c 1 www.elpais.es && > break > One of the upstart goals was to use dbus and events to see if the network is up, a disk have been pluged etc...
I think this bucle should be removed and the check for network to be done in /etc/event.d/epg. I don't know how to do this but in the following URLs[1][2] it seems possible to do something like start on network-interface-up and started freevo Maybe Ubuntu and upstart have not reached there yet and the network-interface-up event is not emited but I think it's worth to investigate. [1] https://wiki.ubuntu.com/ReplacementInitscripts [2] http://upstart.ubuntu.com/wiki/States
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
