Commit | Line | Data |
---|---|---|
805e021f CE |
1 | # Copyright 2000, International Business Machines Corporation and others. |
2 | # All Rights Reserved. | |
3 | # | |
4 | # This software has been released under the terms of the IBM Public | |
5 | # License. For details, see the LICENSE file in the top-level source | |
6 | # directory or online at http://www.openafs.org/dl/license10.html | |
7 | ||
8 | # build | |
9 | # | |
10 | # An InstallGuide for installing a new kernel | |
11 | # For SUN systems running SunOS 4.x | |
12 | # | |
13 | ||
14 | sub installkernel { | |
15 | my ($arch, $hostname); | |
16 | $arch = `/bin/uname -m`; | |
17 | chop $arch; | |
18 | $hostname = `/bin/uname -n`; | |
19 | chop $hostname; | |
20 | $hostname =~ tr/a-z/A-Z/; | |
21 | ||
22 | &VersionCopyFile("/usr/sys/$arch/$hostname/vmunix", "/vmunix"); | |
23 | } |