3 echo "NOTE: Executing configure script."
6 # (c) Copyright Hewlett-Packard Company 1994
11 UTILS
="/usr/lbin/sw/control_utils"
12 if [[ ! -f ${UTILS} ]]
14 echo "ERROR: Cannot find ${UTILS}"
19 ############################################################################
20 # Set the global PATH to include OPENAFS software
22 mod_pathfile
-a P
${ROOT}bin
26 echo " /etc/PATH already contains the OPENAFS component."
28 echo "NOTE: Processes may need to be restarted to inherit"
29 echo " ${ROOT}/bin in their PATH."
32 if [[ -f /usr
/newconfig
/sbin
/init.d
/afs
]]; then
34 # Copy from the original to /sbin/init.d
36 cp /usr
/newconfig
/sbin
/init.d
/afs
/sbin
/init.d
37 chmog
555 bin bin
/sbin
/init.d
/afs
39 # Insert the sym links for startup and shutdown
40 # Assume possible upgrade! if the link is there, don't relink
42 if [[ ! -h /sbin
/rc2.d
/K800afs
]]; then
43 ln -s /sbin
/init.d
/afs
/sbin
/rc2.d
/K800afs
45 if [[ ! -h /sbin
/rc2.d
/S460afs
]]; then
46 ln -s /sbin
/init.d
/afs
/sbin
/rc2.d
/S460afs