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