NAMESERVER=-YES-
#!/bin/sh
# ---------------------------------------------------------------------
# Include system wide configuration options
# ---------------------------------------------------------------------
. /etc/rc.common
# ---------------------------------------------------------------------
# Start named
# ---------------------------------------------------------------------
if [ "${NAMESERVER:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting named"
/usr/local/bin/named &
fi
{
Description = "named dns server";
Provides = ("DNS");
Requires = ("Network");
Preference = "None";
Messages =
{
start = "Starting named";
stop = "Stopping named";
};
}