README for the System V style init, version pre-2.60

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

All programs, files and scripts in this package are covered by
the Gnu Public License, and copyrighted by me.

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
all other test machines too. The directory etc-sysv contains systemV
style startup scrips, updated by Riku Meskanen <mesrik@jyu.fi>.

NOTE: to use the new /etc/rc.d/bcheckrc script, you do NOT need a
modified version of the generic fsck anymore.

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

wall.1, last.1, mesg.1	   /usr/man/man1
inittab.5, initscript.5	   /usr/man/man5
init.8, halt.8, reboot.8,
shutdown.8, powerd.8,
killall5.8, pidof.8,
runlevel.8		   /usr/man/man8

init			   /sbin/init
inittab		   	   /etc/inittab
initscript.sample          /etc/initscript.sample
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
killall5		   /sbin/killall5
pidof			   a link to /sbin/killall5 in the same directory.
runlevel		   /sbin/runlevel
shutdown		   /sbin/shutdown.
wall			   /usr/bin/wall
mesg			   /usr/bin/mesg
last			   /usr/bin/last
powerd			   /sbin/powerd
utmpdump                   don't install, it's just a debug thingy.

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.

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.

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

#if 0 /* Ignore this for 2.57a and up */

      ** IMPORTANT **     ** IMPORTANT **
You ** MUST ** have a device called /dev/console that is NOT a symbolic
link but a real device. Then you'll have to create a HARD link to this
device called "systty". To be sure, do this:

# cd /dev
# rm console
# mknod -m 0622 console c 4 0
# ln console systty

#endif

Running from a read-only file system (CDROM?):
o communication with init regarding runlevel changes goes through the file
  /etc/initrunlvl. This file is normally deleted after init reads the
  information in it, but if it is a symbolic link (say to /var/run/initrunlvl,
  which could reside on a RAM disk) it will just be truncated and not deleted.
  
Miquel van Smoorenburg, miquels@drinkel.ow.org, miquels@cistron.nl


Miquel van Smoorenburg, miquels@cistron.nl      Cistron Internet Services
Mail info@cistron.nl               An independent Dutch Internet Provider
for more information           <A Href = "http://www.cistron.nl/">CIS</A>
   +31-1720-19445 (Voice) 30979 (Fax) 42580 (Data) - Alphen a/d Rijn
