Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsinstall / lib / InstallGuides / HPx_UX10x / bldkernel
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 # An InstallGuide for installing static AFS kernel libraries
9 # For HP systems running HPUX 10.x
10 #
11
12 sub bldkernel {
13 if ($Configuration{"NFSEXTENSIONS"}) {
14 &Copy("root.client/bin/libafs.a", "/etc/conf/lib/libafs.a"); }
15 else {
16 &Copy("root.client/bin/libafs.nonfs.a", "/etc/conf/lib/libafs.a"); };
17
18 &CreateDir("/usr/vice/etc");
19 &Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc");
20 &Chmod(0744, "/usr/vice/etc/afsd");
21 &Copy("bin/fs", "/usr/vice/etc/fs");
22 }