fileserver-largefile-support-20020109
[openafs.git] / src / venus / kdump.sh.solaris7
1 #!/bin/sh
2 # Copyright 2000, International Business Machines Corporation and others.
3 # All Rights Reserved.
4
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
8
9 ## Wrapper script for kdump on Solaris 7.
10
11 BITS=32
12
13 ## Determine the bittedness of the OS
14
15 if [ -x /bin/isalist ]
16 then
17     case `/bin/isalist` in
18     *sparcv9* ) BITS=64 ;;
19     esac
20 else
21     echo "/bin/isalist not executable"
22     exit 1
23 fi
24
25 ## Execute the appropriate kdump and pass it all arguments
26
27 exec $0${BITS} ${1+"$@"}