Magellan Linux

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

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

revision 1516 by niro, Wed Sep 7 17:48:06 2011 UTC revision 1517 by niro, Wed Sep 7 17:50:08 2011 UTC
# Line 861  add_initrd '. /etc/rootdev' Line 861  add_initrd '. /etc/rootdev'
861  add_initrd 'echo "${device} /sysroot ${rootfs} defaults,ro 0 0" > /etc/fstab'  add_initrd 'echo "${device} /sysroot ${rootfs} defaults,ro 0 0" > /etc/fstab'
862  add_initrd 'mount /sysroot || ash'  add_initrd 'mount /sysroot || ash'
863    
864    # use devtmpfs if supported
865    add_initrd "if [ \"\$(grep devtmpfs /proc/filesystems | cut -d$'\t' -f2)\" = \"devtmpfs\" ]; then mount -t devtmpfs dev /sysroot/dev;fi"
866    
867  # unset hotplug event-manager  # unset hotplug event-manager
868  add_initrd 'echo > /proc/sys/kernel/hotplug'  add_initrd 'echo > /proc/sys/kernel/hotplug'
869    

Legend:
Removed from v.1516  
changed lines
  Added in v.1517