Author: pebender
Date: Sun Dec 14 10:11:49 2008
New Revision: 4093
Modified:
trunk/gar-minimyth/html/minimyth/document-changelog.txt
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_sleep_on_ss
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_ss_suspend
Log:
- Fixed a bug that would cause mm_ss_suspend to fail.
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 Sun Dec 14
10:11:49 2008
@@ -1,7 +1,7 @@
MiniMyth Changelog
--------------------------------------------------------------------------------
-Changes since 61 (2008-12-13):
+Changes since 61 (2008-12-14):
Current MythTV versions
MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch
svn 16082,
@@ -90,6 +90,7 @@
was more than one LIRC device.
- Fixed a bug that would cause NFS boot to fail when the NFS server is
not
on the same subnet as the MiniMyth system.
+ - Fixed a bug that would cause mm_ss_suspend to fail.
Modified build system
- Explicitly enable XvMC and VDPAU in FFmpeg.
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_sleep_on_ss
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_sleep_on_ss
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_sleep_on_ss
Sun Dec 14 10:11:49 2008
@@ -27,7 +27,7 @@
open(STDIN, '<', $devnull) or die;
open(STDOUT,'>', $devnull) or die;
defined(my $pid = fork()) or die;
- die if $pid;
+ exit(0) if $pid;
POSIX::setsid() or die;
open(STDERR,'>', $devnull) or die;
}
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_ss_suspend
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_ss_suspend
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/usr/bin/mm_ss_suspend
Sun Dec 14 10:11:49 2008
@@ -3,6 +3,7 @@
use strict;
use warnings;
+require File::Spec;
require MiniMyth;
require POSIX;
@@ -10,13 +11,15 @@
my $minimyth = new MiniMyth;
+my $devnull = File::Spec->devnull;
+
sub daemonize
{
chdir('/') or die;
open(STDIN, '<', $devnull) or die;
open(STDOUT,'>', $devnull) or die;
defined(my $pid = fork()) or die;
- die if $pid;
+ exit(0) if $pid;
POSIX::setsid() or die;
open(STDERR,'>', $devnull) or die;
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---