[package]

    NAME="rc.d"
    VERSION="1.1"
    RELEASE="3"
    AUTHOR="orc@pell.chi.il.us"
    DISTRIBUTION="Mastodon"
    SUMMARY="Mastodon rc.d directories"
    URL="http://www.pell.chi.il.us/~orc/Code/Mastodon"
    COPYRIGHT="Public Domain"


[description]

    This is the rc.d directory tree for the Mastodon rc.d setup.
    This is not a Berkeley or sysV rc.d setup -- each service
    in /etc/rc.d/init.d requests prerequisite services during
    a `start', and the rc tools add those services automatically.

    NOTE:  If you install this on a running system, you will
    convert it into gravel.  Bring your system to single-user
    before installing the rc.d directories.

[needs]

    mastodon_init

[preinstall]

    mkdir -p /etc/rc.d/init.d /etc/rc.d/rc.m /etc/rc.d/functions
    mkdir -p /etc/rc.d/rc.h /etc/rc.d/rc.1 /etc/rc.d/rc.r

[install]

    for service in console daemons loggers serial; do
	ln -s ../init.d/$service /etc/rc.d/rc.m/$service
    done
    ln -s ../init.d/shutoff /etc/rc.d/rc.h/shutoff
    ln -s ../init.d/shutoff /etc/rc.d/rc.r/shutoff
    ln -s ../init.d/single /etc/rc.d/rc.1/single

    echo "reboot now!"

[files]

    bootscript               => /etc/rc.d/bootscript
    functions/ether-modules  => /etc/rc.d/functions/ether-modules
    functions/initregistry   => /etc/rc.d/functions/initregistry
    functions/load-modules   => /etc/rc.d/functions/load-modules
    functions/sethostname    => /etc/rc.d/functions/sethostname
    functions/start-update   => /etc/rc.d/functions/start-update
    functions/stfu           => /etc/rc.d/functions/stfu
    functions/shutoff        => /etc/rc.d/functions/shutoff
    init.d/console           => /etc/rc.d/init.d/console
    init.d/daemons           => /etc/rc.d/init.d/daemons
    init.d/filesystems       => /etc/rc.d/init.d/filesystems
    init.d/inet              => /etc/rc.d/init.d/inet
    init.d/usenet            => /etc/rc.d/init.d/usenet
    init.d/loggers           => /etc/rc.d/init.d/loggers
    init.d/mail              => /etc/rc.d/init.d/mail
    init.d/mouse             => /etc/rc.d/init.d/mouse
    init.d/multi             => /etc/rc.d/init.d/multi
    init.d/named             => /etc/rc.d/init.d/named
    init.d/network           => /etc/rc.d/init.d/network
    init.d/nfs               => /etc/rc.d/init.d/nfs
    init.d/nfs-server        => /etc/rc.d/init.d/nfs-server
    init.d/portmap           => /etc/rc.d/init.d/portmap
    init.d/serial            => /etc/rc.d/init.d/serial
    init.d/single            => /etc/rc.d/init.d/single
    init.d/time-daemon       => /etc/rc.d/init.d/time-daemon
    init.d/www               => /etc/rc.d/init.d/www
    init.d/xterm             => /etc/rc.d/init.d/xterm
    init.d/yellowpages       => /etc/rc.d/init.d/yellowpages
    rc                       => /etc/rc.d/rc

    inittab                  => /etc/inittab
