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

AMD Catalyst 14.9 Linux Driver Is Out, Release Disappoints, as Usual

The AMD developers have announced that a new Catalyst 14.9 Linux driver is now out and that it brings support for a couple of new operating systems and a few bug fixes. New AMD Linux drivers don't arrive as often as the community wants or needs them and the company doesn't have the best track record in the open source world. As it stands right now, there are two kinds of drivers available to Linux users, one that's open source and another one that's proprietary. Catalyst 14.9 is made by AMD and provides better functionality than the open source one, but it doesn't get updated too often. Read more

Calibre for Linux Review – The Best App for Anything Related to eBooks

Calibre is the premiere application on the Linux platform to convert, edit, view, and download eBooks. It has so many features it would be difficult just to count them all, but it's time to take a closer look at this app and see what changed in the years that passed since our last review. Read more

Operating System U Fails To Live Up To Its Goals

After launching last month on Kickstarter, the project has turned into a failure and all development has ceased. Operating System U by Andrew Bernstein only raised $1,948 of its $50,000 goal over the month-long period for the OS that claimed numerous advantages over Ubuntu and Windows 8. Andrew then posted, "Unfortunately OS U was unsuccessful. I truly, truly appreciate everyone who backed us, but unfortunately since we where unsuccessful, combined with other circumstances, OS U will not have any more continued development." Read more

Calculate Intro, OpenMandriva Review, and Mageia Delay

Today in Linux news Jessie Smith has a nice article on Gentoo-derivative Calculate Linux 14 in this week's Distrowatch Weekly. Linuxbsdos.com has a review of OpenMandriva Lx 2014.1, released last week. Mageia 5 Beta 1 is delayed and openSUSE 11.4 is "truly, finally dead." We have all this and more in tonight's Linux news recap. Read more