README for the System V style init, version 2.50

init, shutdown, halt, reboot, wall, last, mesg, runlevel, killall, pidof.

All these programs are included in this package. They were initially
developed for the Minix operating system, but since I am now using
Linux, they are now primarily ment for Linux. The first Linux port of
init.c was done by poe@daimi.aau.dk, and the manual page for init was
written by Michael Haardt, who also helped me to debug init.

All programs have been completely written from scratch. Therefore
they are copyrighted by me. However, these versions are free to
redistribute and to do with as you like. I will not take responsibility
whatsoever on these programs.

You will have to install the new init by hand, and you will have to
update all scripts that have anything to do with the booting of your
system. Look into the subdirectory etc/ to see the new files in /etc:
they are quite generic and what is contained in there is in fact a
snapshot of my system. These files installed without modification on
most other test machines too. The directory etc-sysv constains systemV
style startup scrips: they don't work out of the box and are ment
merely for reference.

Here is a list of preferred directories to install the progs & manpages:

wall.1, last.1, mesg.1	   /usr/man/man1
inittab.5		   /usr/man/man5
init.8,halt.8, shutdown.8
powerd.8		   /usr/man/man8

init			   /sbin/init
inittab		   	   /etc/inittab
telinit		   	   a link (with ln(1) ) to init, either
			   in /bin or in /sbin.
halt			   /sbin/halt
reboot			   a link to /sbin/halt in the same directory
pidof			   /sbin/pidof
killall			   a link to /sbin/pidof in the same directory.
shutdown		   /sbin/shutdown.
wall			   /usr/bin/wall
mesg			   /usr/bin/mesg
last			   /usr/bin/last
powerd			   /sbin/powerd

If you already _have_ a "wall" in /bin (the SLS release has, for example)
do _not_ install this wall. Chances are that the wall you are already
using is linked to /bin/write. Either first _remove_ /bin/wall before
installing the new one, or don't install the new one at all.

If you plan on running the standard rc files (in etc), and not the
SystemV style scripts (in etc-sysv/) then you DO NOT NEED KILLALL.
There is a killall in the procps package, that has complete other func-
tionality. If you _do_ want to use the SystemV style scripts, then
you must nuke the old killall (in /usr/bin) and it's manpage, and
install this one in /sbin.

Make _sure_ that the inittab you are installing is correct, or else your
system will not be able to boot correctly the next times it's rebooted.
Also make sure that there are no duplicate commands in /etc/inittab and
/etc/bcheckrc.

You might want to create a file called "/etc/shutdown.allow". Read the
manual page on shutdown to find out more about this.

Miquel van Smoorenburg, miquels@drinkel.nl.mugnet.org