Language Selection

English French German Italian Portuguese Spanish

Manage Linux init or startup scripts

Filed under
HowTos

Init scripts are small shell programs that usually control services, also known as daemons. Other applications for init scripts involve simply controlling the state of something such as hdparm (HDD sleep timeouts), iptables (loading firewall rule-sets into the kernel) and setserial (COM port configuration).The /etc/init.d directory contains the scripts executed by init at boot time and when the init state.

Init scripts are also important during startup and shutdown (simply “runlevel” changes on *nix systems). If you take a look at the list of processes running on your machine (try ps auwx), chances are that the process with the lowest PID is called “init”. This is the parent of all processes; it’s the first program the kernel starts when booting. init , which can be found in /sbin/init, is responsible for getting the system up and running after the kernel has finished booting.

There are three simple utilities to manage your startup or init scripts

Full Story.

More in Tux Machines

Leftovers: Software

  • diction: The words you choose and why
  • style: Similar idea, different direction
  • SMS based Cosmos Browser for the developing countries
    Browsing the internet has different meaning to different people. While to some the web is a source of entertainment, to others it is a valuable and source of learning. Sadly enough, the internet is not widely available and easily affordable everywhere in the globe. Slow network speed is another problem. Developer Stefan Aleksic of ColdSauce tries to find a solution in an SMS (text) based browser for the third world countries which are yet to see the internet as we know it. He has named it the Cosmos Browser. If you ever used elinks on Linux, you know how efficient and low-bandwidth text only browsing can be. Of course, it is not meant for visiting a website for downloading wallpapers, but it is more than sufficient if you want to read some information from the web. Cosmos will work on text and will not need any data plan or WiFi.
  • Keyboard Modifiers State indicator For Ubuntu: Xkbmod Indicator

today's howtos

Leftovers: Gaming

Sorry, Windows 9 Fans, This Is How Multiple Desktops Should Work – Video

The Linux platform has always taken pride in this cool feature. Having multiple desktops is a great way to increase the productivity and there are numerous means to implement it. Lots of Linux distributions have this option, which is used in various ways. Read more