Author: pebender
Date: Tue May 12 18:19:10 2009
New Revision: 4754
Modified:
trunk/gar-minimyth/html/minimyth/document-changelog.txt
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
Log:
- Added timeout on waiting for /minimyth for local boot so that users can
telnet in and debug when it occurs.
Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt Tue May 12
18:19:10 2009
@@ -1,7 +1,7 @@
MiniMyth Changelog
--------------------------------------------------------------------------------
-Changes since 66 (2009-05-11):
+Changes since 66 (2009-05-12):
Current MythTV versions
MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch
svn 16082 and
@@ -38,6 +38,8 @@
- Moved init/modules_manual.pm so that it starts earlier in the init
process.
- Now init/modules_manual.pm so that it is called just after
running
init/modules_automatic.pm and determining
MM_HARDWARE_KERNEL_MODULES.
+ - Added timeout on waiting for /minimyth for local boot so that users
can
+ telnet in and debug when it occurs.
Improved MythV slave backend support.
- Added support for DVB USB devices that make use of the
dvb-usb-dib0700
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/conf.pm
Tue May 12 18:19:10 2009
@@ -60,10 +60,15 @@
# Using local configuration files, so there should be a '/minimyth'
directory.
if ($minimyth->var_get('MM_MINIMYTH_BOOT_URL') eq 'file:/minimyth/')
{
- while (! -e '/minimyth')
+ for (my $countdown = 30; (! -e '/minimyth') && ($countdown > 0) ;
$countdown--)
{
- $minimyth->message_output('info', "waiting for directory
/minimyth to mount ...");
+ $minimyth->message_output('info', "waiting for directory
/minimyth to mount ($countdown second(s) left) ...");
sleep 1;
+ }
+ if (! -e '/minimyth')
+ {
+ $minimyth->message_output('err', "directory /minimyth failed
to mount.");
+ return 0;
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---