#!/sbin/sh
#
# inetd		Start TCP/IP networking services. This script
#		sets the hostname, creates the routes and
#		starts the Internet Network Daemon & RPC portmapper.
#
# Version:	@(#) /etc/init.d/inetd 1.01 26-Oct-1993
#
# Author:	Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#

  # Source function library.
  . /sbin/init.d/functions

  # See how we were called.
  case "$1" in
    start)
	# Start the INET services.
	echo -n "Initializing INET services: "
	daemon /usr/sbin/inetd
	echo
	;;
    stop)
	# Stop INET services.
	echo -n "Shutting down INET services: "
	killproc -TERM inetd
	echo
	;;
    *)
	# Oops someone made a typo.
	echo "Usage: /sbin/init.d/inetd {start|stop}"
	exit 1
  esac

exit 0
