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 | # An InstallGuide for dynamic kernel loaded libraries | |
9 | # For SGI systems running IRIX 6.x | |
10 | # | |
11 | ||
12 | sub modkernel { | |
13 | my($nfs, $libafs); | |
14 | &ErrorsAreFatal(1); | |
15 | ||
16 | # NFS support | |
17 | if ($Configuration{"NFSEXTENSIONS"}) { | |
18 | $nfs = ""; } | |
19 | else { | |
20 | $nfs = ".nonfs"; }; | |
21 | ||
22 | # From the above, put together the name of the kernel library to use | |
23 | $libafs = "libafs$nfs.o"; | |
24 | ||
25 | &CreateDir("/usr/vice/etc/sgiload"); | |
26 | &ErrorsAreFatal(0); | |
27 | ||
28 | &Copy("root.client/usr/vice/etc/sgiload/$libafs", "/usr/vice/etc/sgiload"); | |
29 | &Copy("root.client/usr/vice/etc/sgiload/afs", "/usr/vice/etc/sgiload"); | |
30 | &Copy("root.client/usr/vice/etc/sgiload/afs.rc", "/usr/vice/etc/sgiload"); | |
31 | &Copy("root.client/usr/vice/etc/sgiload/afs.sm", "/usr/vice/etc/sgiload"); | |
32 | ||
33 | &Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc"); | |
34 | &Chmod(0744, "/usr/vice/etc/afsd"); | |
35 | system("/etc/chkconfig -f afsml on"); | |
36 | &Copy("bin/fs", "/usr/vice/etc/fs"); | |
37 | } |