support HP-UX 11
This commit is contained in:
@@ -19,7 +19,15 @@
|
||||
# Set up interface aliases for bind9 system tests.
|
||||
#
|
||||
|
||||
sys=`../../../config.guess`
|
||||
# If running on hp-ux, don't even try to run config.guess.
|
||||
# It will try to create a temporary file in the current directory,
|
||||
# which fails when running as root with the current directory
|
||||
# on a NFS mounted disk.
|
||||
|
||||
case `uname -a` in
|
||||
*HP-UX*) sys=hpux ;;
|
||||
*) sys=`../../../config.guess` ;;
|
||||
esac
|
||||
|
||||
case "$1" in
|
||||
|
||||
@@ -61,6 +69,9 @@ case "$1" in
|
||||
*-ibm-aix4.*)
|
||||
ifconfig lo0 alias 10.53.0.$ns
|
||||
;;
|
||||
hpux)
|
||||
ifconfig lo0:$ns 10.53.0.$ns up
|
||||
;;
|
||||
*)
|
||||
echo "Don't know how to set up interface. Giving up."
|
||||
exit 1
|
||||
@@ -106,6 +117,9 @@ case "$1" in
|
||||
*-ibm-aix4.*)
|
||||
ifconfig lo0 delete 10.53.0.$ns
|
||||
;;
|
||||
hpux)
|
||||
ifconfig lo0:$ns 10.53.0.$ns down
|
||||
;;
|
||||
*)
|
||||
echo "Don't know how to destroy interface. Giving up."
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user