Language Selection

English French German Italian Portuguese Spanish

Manage Linux init or startup scripts

Filed under

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

KDE Plasma 5.5

  • KDE Plasma 5.5 Windows 8 Metro-Inspired Theme Looks Interesting
    KDE developer Kai Uwe has just published a lengthy article where he talks about developing a Windows 8-inspired theme for the upcoming KDE Plasma 5.5 desktop environment.
  • KDE Developer Working On Windows 8 Inspired Look
    Kai Uwe has been working on some experimental hacks to resemble Windows 8, although Microsoft's default interface has changed with Windows 10. He's calling this work "U-Bahn" (the German equivalent of a Metro subsystem system) in reference to Microsoft at the time calling it Metro. This was just some brief hacking and he's not planning to see this U-Bahn project through to the end.
  • Pursuing Awesomeness
    While applets can be installed through “Get Hot New Stuff” and distribution repositories, there’s also the classic .plasmoid file. A feature suggested by one of my colleagues – fresh KDE Plasma user – was to drag .plasmoid files onto the desktop or panel and have them installed. After Marco Martin implemented the neccessary KPackage plumbing this is now possible.

Security Leftovers

Leftovers: Gaming

Debian's APT 1.1 Accepted Into Unstable

It's been over a year and a half since APT 1.0 was released by the Debian development community while today APT 1.1 has reached the unstable community. Read more