(no commit message)
[openafs-wiki.git] / AFSLore / InitializationScriptonAIX.mdwn
1 Reboot the machine and log in again as the local superuser root.
2
3        # cd /
4
5        # shutdown -r now
6
7        login: root
8        Password: root_password
9
10 Run the AFS initialization script.
11
12        # /etc/rc.afs
13
14 [[Confirm Cache Manager Initialization|Main/ConfirmCacheManagerInitialization]]
15
16 ## <a name="Automatically Start AFS on Syste"></a> Automatically Start AFS on System Boot
17
18 Now that you have confirmed that the AFS initialization script works correctly, take the action necessary to have it run automatically at each reboot.
19
20 Edit the AIX initialization file, /etc/inittab, adding the following line to invoke the AFS initialization script. Place it just after the line that starts NFS daemons.
21
22        rcafs:2:wait:/etc/rc.afs > /dev/console 2>&1 # Start AFS services
23
24 (Optional) There are now copies of the AFS initialization file in both the /usr/vice/etc and /etc directories. If you want to avoid potential confusion by guaranteeing that they are always the same, create a link between them. You can always retrieve the original script from the AFS CD-ROM if necessary.
25
26        # cd  /usr/vice/etc
27
28        # rm  rc.afs
29
30        # ln -s  /etc/rc.afs