Author: pebender
Date: Sat Jan 10 13:35:02 2009
New Revision: 4212

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/dhcp.pm

Log:
- Fixed a bug that could cause DHCP to fail to use MM_DHCP_* variables.



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     Sat Jan 10  
13:35:02 2009
@@ -47,6 +47,7 @@
  Fixed bugs
      - Fixed a bug that caused there to be no PCI devices in  
/dev/persistent.
      - Fixed missing DVB support in MythTV 0.20 and 0.20 softpad.
+    - Fixed a bug that could cause DHCP to fail to use MM_DHCP_* variables.

   
--------------------------------------------------------------------------------
  Changes since 62 (2009-01-09):

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/dhcp.pm
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/dhcp.pm
        
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/dhcp.pm
        
Sat Jan 10 13:35:02 2009
@@ -64,6 +64,7 @@
          {
              foreach (grep(s/^ *inet addr:([^ ]*) .*$/$1/, (<FILE>)))
              {
+                chomp $_;
                  $ip_address = $_;
                  last;
              }
@@ -83,6 +84,7 @@
          $command = $command . ' ' .  q(> /var/log/udhcpc 2>&1);

          # Start DHCP client on the interface.
+        $minimyth->message_log('info', qq(running DHCP client  
command '$command'.));
          if (system($command) != 0)
          {
              $minimyth->message_output('err', "DHCP on  
interface '$interface' failed.");
@@ -96,6 +98,7 @@
          {
              foreach (grep(s/^ *inet addr:([^ ]*) .*$/$1/, (<FILE>)))
              {
+                chomp $_;
                  $ip_address = $_;
                  last;
              }

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to