ifconfig.sh revision 15a44745412679c30a6d022733925af70a38b715
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Copyright (C) 2000 Internet Software Consortium.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# purpose with or without fee is hereby granted, provided that the above
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# copyright notice and this permission notice appear in all copies.
4b6dc226f78862286daa69fba761eac9fd5da16aAutomatic Updater# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
940e4ef72b64a8a82a1038fdf08b324eec6e43a9Michael Graff# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
940e4ef72b64a8a82a1038fdf08b324eec6e43a9Michael Graff# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
3761c433912beabe43abeed2c3513b6201c59f64Mark Andrews# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff# $Id: ifconfig.sh,v 1.19 2000/07/27 09:39:11 tale Exp $
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Set up interface aliases for bind9 system tests.
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman# If running on hp-ux, don't even try to run config.guess.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# It will try to create a temporary file in the current directory,
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington# which fails when running as root with the current directory
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington# on a NFS mounted disk.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ifconfig lo0 10.53.0.$ns alias netmask 0xffffffff
94a08e09db3dc844b6ee4841c368a2d7074a9c3fAndreas Gustafsson echo "Don't know how to set up interface. Giving up."
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence echo "Don't know how to destroy interface. Giving up."
f7b99290c31abeb20c55fc55391510450ce60423Mark Andrews echo "Usage: $0 {start|stop}"