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 the AFS modified Unix commands
9 # For Alpha systems running Digital Unix 4.x and SIA
13 &Copy("etc/inetd", "/usr/sbin/inetd.afs");
14 &Copy("etc/inetd.conf", "/etc/inetd.conf.afs");
15 &CopyStat("/etc/inetd.conf", "/etc/inetd.conf.afs");
18 &CreateDir("/usr/vice/bin");
20 &Copy("bin/rcp", "/usr/vice/bin");
21 &Chown (0,2, "/usr/vice/bin/rcp");
22 &Chmod (04755, "/usr/vice/bin/rcp");
24 &Copy("bin/rsh", "/usr/vice/bin");
25 &Chown (0,2, "/usr/vice/bin/rsh");
26 &Chmod (04755, "/usr/vice/bin/rsh");
28 # comment out the rshd line in inetd.conf
29 $InetdConf = "/etc/inetd.conf";
30 &Patch::Verbose if ($InstallVerbose);
31 &Patch::FileOpen($InetdConf);
33 $Search = "^(shell\\s+.+)";
36 if (!&Patch::Patch($InetdConf, [[1, "Substitution", $Search, $Replace]])) {
37 &ErrorMsg("Did not succeed with patch", $InetdConf);
40 # Modify the /etc/services file
41 &ReadInstallGuide("$InstallGuideDir/GENERIC/unix");