Last change: 2007-10-15
I originally wrote this package back in 1996 (or 1995?) using perl. I did never publish it because I felt that using perl at bootup (which requires a special version of perl installed on your root partition) was a bit too much. In May 2000 I rewrote it using bash, and I now feel it's time to get rid of it somewhere ;)
Booten ist langsam ? Dein System funktioniert ? Booten sieht nicht cool aus ? Booten reizt die bash nicht total aus ? Was missen die Leute im Big-Brother Haus am meisten ? Nee, nicht Megaperls, sondern http://www.goof.com/pcg/marc/lmainit.html vom Autor von pgcc, Gimp-Perl und Bambie, getestet im init-research-center der Uni Karlsruhe, empfohlen von Sladdy, rechtzeitig zum 50er von Gottschalk und zum 80er vom Papst, verstanden von niemanden. Hier einige Kommentare: Marc Lehmann (Author): "welcome to quoting hell" La-La: "Nocheinmal booten, nocheinmal booten" Richard Stallmann: "Hmm, looks great except that I miss the license at startup. Wait, arrgghh: This GNU looks like a penguin !!" Brian Fox, Chet Ramey (Authors of Bash): "Is this really bash code ?" Boris Jelzin: "I do not understand DRY_RUN. Here in russia even computers need wodka, this can't work." Johann Reiser: "Lehmann, may I use the "Optimized for lma-init" logo in reiserfs, pleeese ?" Linus: "This is the biggest innovation within the last 10 years except maybe hard-linking of directories or sliced bread." Cox: "Shit, it's perfect. Mama, there is nothing to patch !" Arcangeli: "Ooops, diff says: Binary files syslib.sh~ and syslib.sh differ" McDonalds: "Überzeugend. Wir schmeißen Apple als Sponsor raus und verkaufen nun Big-LMA anstatt Big-Mac; für unseren Linux-Salat verwenden wir in Zukunft ausschließlich OpenSauce." unbekannt, NRW: "Pinguine statt Inder." M.Jackson: "Pinguine statt Kinder ??" Elvis: "Schade, daß ich das nicht mehr erleben durfte."
The second screenshot features the new (fat) logo, and my system while booting up. As you can see, my system failed to initialize the swapspace. Since my system is a desktop-only system, lma-init gives me the opportunity to log-in and fix the problem before going on with the boot.
(both logos, btw. are from the author of linux_logo)
Another nice feature that helps me a lot during my daily work is the facility-script. To start or stop facilities, just run the facility-script with the facility names. The following example shows how I kill and restart my httpd when a simple SIGHUP does not suffice:
cerebro:~/src/shinit# facility -httpd +httpd Apache HTTPD kill -TERM 2181 Apache HTTPD cerebro:~/src/shinit#
In sysvinit-compatible mode, lma-init additionally runs the standard /etc/rc.d/rcrunlevel.d/[SK][0-9][0-9]* initscripts found in other linux distributions. BTW., lma-init requires linux and bash version 2.04 (or higher). With a suitable configuration file lma-init could be used as a drop-in replacement for many popular distributions. I hope to provide such configuration files sometime in the future.
To give you an impression of how such a configuration file looks, click here to view my own rc.values file.
You can get releases for lma-init only from this site currently. And be warned again that this is a hackers-only toy at the moment.
--- CUT ---
Any questions/hints/critics? Contact the author of this page!