1289. [port] Openserver: ifconfig.sh support.

This commit is contained in:
Mark Andrews
2002-05-13 04:18:07 +00:00
parent 26cf4737b3
commit 57e0f58b3f
2 changed files with 9 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: ifconfig.sh,v 1.38 2002/03/01 11:28:28 marka Exp $
# $Id: ifconfig.sh,v 1.39 2002/05/13 04:18:07 marka Exp $
#
# Set up interface aliases for bind9 system tests.
@@ -92,6 +92,9 @@ case "$1" in
hpux)
ifconfig lo0:$ns 10.53.0.$ns up
;;
*-sco3.2v*)
ifconfig lo0 alias 10.53.0.$ns
;;
*)
echo "Don't know how to set up interface. Giving up."
exit 1
@@ -140,6 +143,9 @@ case "$1" in
hpux)
ifconfig lo0:$ns 10.53.0.$ns down
;;
*-sco3.2v*)
ifconfig lo0 -alias 10.53.0.$ns
;;
*)
echo "Don't know how to destroy interface. Giving up."
exit 1