Written by Holguer Andres
Requirements:
Procedure:
nano /etc/inittab
As you can observe in the next image, and highlighted in red, all the initial system processes init with ":sysinit:" and next to this a command or a script that is going to be run on the initialization of the system.
To see how it works, we are going to modify the file rcS by typing the following:
nano /etc/init.d/rcS
once you have typed the previous console line, the nano editor is going to show you on the console the file rcS, and you are going to add the line highlighted in red 'fpgalover.com'
Now save and exit.
Type on the console 'reboot' to restart the system
reboot
once the system is relaunched, you will see at the beginning a new line message that contains what you just have written on the rcS file.
Now it is your time to add your own script to the inittab file and execute what you desire!
References
You can contribute and make this a better place by supporting it.if you like this webpage, or if the resources of this webpage are useful for you, please donate.
Paypal(Own Amount):