[ README - Fri Jan 27 19:26:16 1984 - Installing inetd - /mtr ]


    Modify Makefile to set the installation directories as appropriate.

	directory	usually		residents
	ADMDIR		/etc		inetd, timeck
	ETCDIR		/etc		udps, hname 
	PUBDIR		/usr/local	whois


    Invoke make as:

	make inst-all


    Update /etc/services from the copy supplied, and copy the manual
    pages to the appropriate areas.


    Modify /etc/rc.local to invoke inetd.  When inetd starts up from
    rc, it automatically "detaches", so the usual invocation is:

	if [ -f /etc/inetd ]; then
	    /etc/inetd tcp/finger tcp/echo tcp/qotd udp/time &
		    echo -n ' finger echo qotd time'		>/dev/console
	fi

    This starts up four services.  Obviously, you might choose others.


    The timeck program polls udp/time servers on the localnet. For it
    to run, you'll need to define "localnet" in /etc/networks (add it
    to the localnetworks file).  You can also have timeck set the time
    on your system during startup by using the -s option.  [Chris Kent
    <cak@purdue> has a program that does the same thing using TCP and a
    list of hosts that you supply.  The -s option in timeck is based on
    that program, which was in turn based on someone else's program.]
    So, if you want to ask the localnet for the correct time, add this
    to your /etc/rc.local file:

	if [ -f /etc/timeck ]; then
	    /etc/timeck -s					>/dev/console
	fi


    The udps program is used primarily for debugging purposes, and not
    really worth mentioning.  The hname program connects to the
    tcp/hostnames server at sri-nic, and is really just a simple shell
    script that calls whois with the correct arguments.  You should use
    the /etc/gettable program to get the HOSTS.TXT file from sri-nic,
    hname is useful for looking up just one host.
