2 # Copyright 2000, International Business Machines Corporation and others.
5 # This software has been released under the terms of the IBM Public
6 # License. For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
9 ## Wrapper script for kdump on Solaris 7.
13 ## Determine the bittedness of the OS
15 if [ -x /bin
/isalist
]
17 case `/bin/isalist` in
18 *sparcv9
* ) BITS
=64 ;;
21 echo "/bin/isalist not executable"
25 ## Execute the appropriate kdump and pass it all arguments
27 exec $0${BITS} ${1+"$@"}