Magellan Linux

Diff of /trunk/mkinitrd-magellan/mkinitrd.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1793 by niro, Mon Apr 2 11:40:49 2012 UTC revision 1794 by niro, Mon Apr 2 11:41:46 2012 UTC
# Line 870  add_initrd '. /etc/rootdev' Line 870  add_initrd '. /etc/rootdev'
870  add_initrd 'echo "${device} /sysroot ${rootfs} defaults,ro 0 0" > /etc/fstab'  add_initrd 'echo "${device} /sysroot ${rootfs} defaults,ro 0 0" > /etc/fstab'
871  add_initrd 'mount /sysroot || ash'  add_initrd 'mount /sysroot || ash'
872    
 # use devtmpfs if supported  
 add_initrd "if [ \"\$(grep devtmpfs /proc/filesystems | cut -d$'\t' -f2)\" = \"devtmpfs\" ]; then mount -t devtmpfs dev /sysroot/dev;fi"  
   
873  # unset hotplug event-manager  # unset hotplug event-manager
874  add_initrd 'echo > /proc/sys/kernel/hotplug'  add_initrd 'echo > /proc/sys/kernel/hotplug'
875    

Legend:
Removed from v.1793  
changed lines
  Added in v.1794