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

Pro tip: Find tons of open-source Android software with F-Droid

If you're looking for truly open-source software for the Android platform, you don't have to do a ton of searching or check through licenses from within the Google Play Store. All you have to do is download a simple tool called F-Droid. With this tool, you can download and install apps (from quite a large listing) as easily as you can from the Google Play Store. You won't, however, find F-Droid in the Google Play Store. Instead, you have to download the .apk file and install it manually. Once it's installed, the rest is just a matter of searching for an app and tapping to install. Read more

Librem 15 Linux Laptop Set To Close At Around $400k USD

The manufacturing goal was $250k USD and thanks to the extension they're now set to close the campaign at the end of today at around $400k. With the extra funds, they're planning to add hardware kill switches for the microphone/camera and for all RF/WiFI/Bluetooth adapters. Those behind the project are also looking at replacing the HDMI port with two mini Thunderbolt ports. Read more

US Army and FOSS