I using embedded Linux, I have compiled the kernel without initramfs and kernel is booting fine. But It shows me rcS
file is not found I have put it in /etc/init.d/rcS
and my rcS
file look like
#!/bin/sh
echo "Hello world"
After the file system is mounted by the kernel it prints Hello world
.
Can any one tell/explain me why this file is require and how could I start those start up scripts in particular order?
I am using Raspberry Pi with busybox and it works fine but get I got stuck in the startup.