Author: pebender
Date: Sat Sep  6 16:08:22 2008
New Revision: 3713

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

Log:
- Added file '/init.log' that contains the init start and end times,
   allowing timing of sh and perl based init scripts.



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 Sep  6  
16:08:22 2008
@@ -37,6 +37,8 @@

  Modified init
      - Changed udev rules so that they move /dev/uinput to  
/dev/input/uinput.
+    - Added file '/init.log' that contains the init start and end times,
+      allowing timing of sh and perl based init scripts.

  Modified Linux kernel
      - Updated squashfs to 3.4.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/initrd/sbin/init
==============================================================================
--- trunk/gar-minimyth/script/meta/minimyth/files/source/initrd/sbin/init       
 
(original)
+++ trunk/gar-minimyth/script/meta/minimyth/files/source/initrd/sbin/init       
 
Sat Sep  6 16:08:22 2008
@@ -8,6 +8,10 @@
  /bin/mkdir -p initrd
  /sbin/pivot_root . initrd

+/bin/echo -n                         >  /init.log
+/bin/echo -n "start date and time: " >> /init.log
+/bin/date -u +'%Y-%m-%d %H:%M:%S %Z' >> /init.log
+
  MM_INIT_TYPE=${MM_INIT_TYPE:-'sh'}

  # Save boot line options that we need later.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc
==============================================================================
--- trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc     
 
(original)
+++ trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc     
 
Sat Sep  6 16:08:22 2008
@@ -73,6 +73,8 @@
          script_list=`/bin/ls -1 /etc/rc.d/rc.d/S*`
          rc_script_list_run 1 "start" "${script_list}"
          mm_splash_halt
+        /bin/echo -n "end   date and time: " >> /init.log
+        /bin/date -u +'%Y-%m-%d %H:%M:%S %Z' >> /init.log
          ;;
      0)
          mm_splash_init 'shutdown'

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