# $Id: schemes.conf,v 1.1 2002/02/21 06:27:10 cph Exp $
#
# Copyright (c) 2000-2002 Massachusetts Institute of Technology
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.

# This script is sourced with the following shell variables:
# SCHEME is the name of the selected scheme.
# INTERFACE is the name of the interface.

case "${SCHEME}" in
offline)
    # Setting nothing means to leave the network interface disabled.
    ;;
*)
    # Set to "yes" to use DHCP
    DHCP="yes"

    # These bindings specify a static address and are ignored if DHCP is used:

    # IP address (required)
    ADDRESS=
    # Netmask (required)
    NETMASK=
    # Broadcast address (optional)
    BROADCAST=
    # Network address (optional)
    NETWORK=
    # Gateway address (optional)
    GATEWAY=

    # These bindings are used both for DHCP and static addresses:

    # Local domain name (optional)
    DOMAIN=
    # Search list for host lookup (optional)
    SEARCH=
    # Nameservers, separated by spaces (optional)
    NAMESERVERS=
    ;;
esac
