Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsinstall / lib / InstallGuides / GENERIC / debug
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 installing debugging programs
9#
10
11sub debug {
12&ErrorsAreFatal(1);
13&CreateDir ("/usr/vice/bin", "/usr/vice/etc/C", "/usr/afs/bin");
14&ErrorsAreFatal(0);
15&Copy ("bin/afsmonitor", "/usr/vice/bin");
16&Copy ("bin/cmdebug", "/usr/vice/bin");
17&Copy ("etc/fstrace", "/usr/vice/bin");
18&Copy ("etc/kdump", "/usr/vice/bin");
19&Copy ("etc/rxdebug", "/usr/vice/bin");
20&Copy ("bin/scout", "/usr/vice/bin");
21&Copy ("bin/udebug", "/usr/vice/bin");
22&Copy ("root.server/usr/afs/bin/volinfo", "/usr/afs/bin");
23&Copy ("root.client/usr/vice/etc/C/afszcm.cat", "/usr/vice/etc/C");
24&Chmod(0744, "/usr/afs/bin/volinfo");
25&Chmod(0744, "/usr/vice/bin/fstrace");
26&Chmod(0644, "/usr/vice/etc/C/afszcm.cat");
27}