Revert ""
[openafs-wiki.git] / InitializationScriptonDigitalUNIX.mdwn
1 Run the AFS initialization script.
2
3        # /sbin/init.d/afs  start
4
5 [[Confirm Cache Manager Initialization|ConfirmCacheManagerInitialization]]
6
7 ## <a name="Automatically Start AFS on Syste"></a> Automatically Start AFS on System Boot
8
9 Now that you have confirmed that the AFS initialization script works correctly, take the action necessary to have it run automatically at each reboot.
10
11 Change to the /sbin/init.d directory and issue the ln -s command to create symbolic links that incorporate the AFS initialization script into the Digital UNIX startup and shutdown sequence.
12
13        # cd  /sbin/init.d
14
15        # ln -s  ../init.d/afs  /sbin/rc3.d/S67afs
16
17        # ln -s  ../init.d/afs  /sbin/rc0.d/K66afs
18
19 (Optional) There are now copies of the AFS initialization file in both the /usr/vice/etc and /sbin/init.d 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.
20
21        # cd /usr/vice/etc
22
23        # rm afs.rc
24
25        # ln -s  /sbin/init.d/afs  afs.rc