Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsinstall / lib / InstallGuides / HPx00_UX9 / modkernel
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 dynamic kernel loaded libraries
9 # For HP 9000 systems running HPUX 9.x
10
11 sub modkernel {
12 &ErrorsAreFatal(1);
13 &CreateDir("/usr/vice/etc/dkload");
14 &ErrorsAreFatal(0);
15
16 &Copy("root.client/usr/vice/etc/dkload/dkload", "/usr/vice/etc/dkload");
17 &Copy("root.client/usr/vice/etc/dkload/libcommon.a", "/usr/vice/etc/dkload");
18
19 if ($Configuration{"NFSEXTENSIONS"}) {
20 &Copy("root.client/usr/vice/etc/dkload/libafs.a", "/usr/vice/etc/dkload"); }
21 else {
22 &Copy("root.client/usr/vice/etc/dkload/libafs.nonfs.a",
23 "/usr/vice/etc/dkload"); };
24
25 &Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc");
26 &Chmod(0744, "/usr/vice/etc/afsd");
27 &Copy("bin/fs", "/usr/vice/etc/fs");
28 }