cf: Disable swig if shared libraries are disabled
[openafs.git] / src / afsinstall / lib / InstallGuides / GENERIC / miscserver
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 fileserver processes
9 #
10
11 sub miscserver {
12 &CreateDir ("/usr/afs/backup", "/usr/afs/etc");
13 &CreateDir ("/usr/afs/local", "/usr/afs/logs");
14 &ErrorsAreFatal(1);
15 &CreateDir ("/usr/afs/bin");
16 &ErrorsAreFatal(0);
17 &Copy ("root.server/usr/afs/bin/buserver", "/usr/afs/bin");
18 &Copy ("root.server/usr/afs/bin/upserver", "/usr/afs/bin");
19 &Copy ("root.server/usr/afs/bin/upclient", "/usr/afs/bin");
20 &Chmod(0744, "/usr/afs/bin/buserver");
21 &Chmod(0744, "/usr/afs/bin/upserver");
22 &Chmod(0744, "/usr/afs/bin/upclient");
23 }