Author: pebender
Date: Thu Dec 11 19:09:58 2008
New Revision: 4083

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/udhcpc.script

Log:
- Fixed a bug that would cause NFS boot to fail when the NFS server is not
   on the same subnet as the MiniMyth system.



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     Thu Dec 11  
19:09:58 2008
@@ -1,7 +1,7 @@
  MiniMyth Changelog

   
--------------------------------------------------------------------------------
-Changes since 61 (2008-12-10):
+Changes since 61 (2008-12-11):

  Current MythTV versions
      MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch  
svn 16082,
@@ -87,6 +87,8 @@
        remote was present.
      - Fixed a bug that would cause the perl init scripts to fail when there
        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.

  Modified build system
      - Explicitly enable XvMC and VDPAU in FFmpeg.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/udhcpc.script
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/udhcpc.script   
 
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/udhcpc.script   
 
Thu Dec 11 19:09:58 2008
@@ -27,18 +27,20 @@
  case "${1}" in
      deconfig)

-        # If we have an IP address, then do not reset the interface,  
because
-        # (1) resetting the interface on NFS boot is fatal and
-        # (2) resetting the interface on DHCP restart is not needed.
+        # If we have an IP address, then do not reset the interface and  
routing table, because
+        # (1) resetting the interface and routing talbe on NFS boot is  
fatal and
+        # (2) resetting the interface and routing table on DHCP restart is  
not needed.
          IP_ADDRESS=`/sbin/ifconfig ${interface} | /bin/grep '^ *inet  
addr:' | /bin/sed 's%^ *inet addr:\([^ ]*\) .*%\1%'`
          if /usr/bin/test -z "${IP_ADDRESS}" ; then
+            # Remove IP address.
              /sbin/ifconfig ${interface} 0.0.0.0 broadcast 255.255.255.255  
up
+
+            # Remove configuration generated by this script.
+            while /sbin/route del default gw 0.0.0.0 dev ${interface} 2>  
/dev/null ; do
+                :
+            done
          fi

-        # Remove configuration generated by this script.
-        while /sbin/route del default gw 0.0.0.0 dev ${interface} 2>  
/dev/null ; do
-            :
-        done
          /bin/hostname ""
          /bin/rm -f "${DHCP_CONF}"
          /bin/rm -f "${HOSTS_CONF}"

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