mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:22:08 -04:00
support HP-UX 11
This commit is contained in:
parent
413ce88331
commit
87b3cb4ede
1 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue