backport to buster
[hcoop/debian/openafs.git] / src / afsinstall / lib / InstallGuides / RS_AIX3x / modkernel
CommitLineData
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# An InstallGuide for dynamic kernel loaded libraries
9# For IBM RS/6000 systems running AIX 3.x
10
11sub modkernel {
12&ErrorsAreFatal(1);
13&CreateDir("/usr/vice/etc/dkload");
14&ErrorsAreFatal(0);
15
16if ($Configuration{"NFSEXTENSIONS"}) {
17 &Copy("root.client/usr/vice/etc/dkload/afs.ext.trans",
18 "/usr/vice/etc/dkload");
19 &Copy("root.client/usr/vice/etc/dkload/cfgafs", "/usr/vice/etc/dkload");
20 &Copy("root.client/usr/vice/etc/dkload/cfgexport", "/usr/vice/etc/dkload");
21 &Copy("root.client/usr/vice/etc/dkload/export.ext","/usr/vice/etc/dkload"); }
22else {
23 &Copy("root.client/usr/vice/etc/dkload/afs.ext", "/usr/vice/etc/dkload");
24 &Copy("root.client/usr/vice/etc/dkload/cfgafs", "/usr/vice/etc/dkload");
25 &Copy("root.client/usr/vice/etc/dkload/cfgexport", "/usr/vice/etc/dkload");
26 &Copy("root.client/usr/vice/etc/dkload/export.ext.nonfs",
27 "/usr/vice/etc/dkload"); }
28
29&Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc");
30&Chmod(0744, "/usr/vice/etc/afsd");
31&Copy("bin/fs", "/usr/vice/etc/fs");
32}