Author: pebender
Date: Sun May 10 20:46:26 2009
New Revision: 4742

Modified:
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/shutdown.pm

Log:
- Fixed recently introduced bug in the shutdown init script.



Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/shutdown.pm
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/shutdown.pm
    
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/shutdown.pm
    
Sun May 10 20:46:26 2009
@@ -19,8 +19,10 @@
              if (/^([^ ]*) ([^ ]*) ([^ ]*)/)
              {
                  my $mountpoint = $2;
-                if ( ($2 =~ /^\/$/)       ||
-                     ($2 =~ /^\/initrd$/) )
+                if ( ($1 =~ /^\/dev\/root$/) ||
+                     ($1 =~ /^rootfs$/)      ||
+                     ($2 =~ /^\/$/)          ||
+                     ($2 =~ /^\/initrd$/)    )
                  {
                      next;
                  }

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