1 # Copyright 2000, International Business Machines Corporation and others.
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
8 # An InstallGuide for static AFS kernel libraries
9 # For SGI systems running IRIX 6.3
13 my ($chip, $nfs, $libafs);
16 # Find out what kind of chip the machine has (Rx000)
17 $chip = `hinv -t cpu`;
20 &ErrorMsg("Couldn't determine chip type with", "hinv") unless ($chip =~ /^R/);
23 if ($Configuration{"NFSEXTENSIONS"}) {
28 # From the above, put together the name of the kernel library to use
29 $libafs = "libafs.SP.$chip$nfs.a";
31 &CreateDir("/usr/vice/etc/sgiload");
34 &Copy("root.client/bin/$libafs", "/var/sysgen/boot/afs.a");
35 &Copy("root.client/usr/vice/etc/sgiload/afs", "/usr/vice/etc/sgiload");
36 &Copy("root.client/usr/vice/etc/sgiload/afs.rc", "/usr/vice/etc/sgiload");
37 &Copy("root.client/usr/vice/etc/sgiload/afs.sm", "/usr/vice/etc/sgiload");
39 &Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc");
40 &Chmod(0744, "/usr/vice/etc/afsd");
41 &Copy("bin/fs", "/usr/vice/etc/fs");
42 system("/etc/chkconfig -f afsml off");