3 echo "NOTE: Executing unconfigure script."
6 # (c) Copyright Hewlett-Packard Company 1994
7 # @(#) OpenAFS unconfigure v1.2 4/22/03
11 UTILS
="/usr/lbin/sw/control_utils"
12 if [[ ! -f ${UTILS} ]]
14 echo "ERROR: Cannot find ${UTILS}"
22 ################################################
23 # Set the global PATH to include OPENAFS software
25 mod_pathfile
-d P
${ROOT}bin
29 echo " $ROOT already removed from /etc/PATH."
31 echo " ${ROOT}/bin removed from path"
34 # Remove the startup/shutdown scripts from /sbin/init.d and /sbin/rc2.d
35 # Remove the configuration files inserted by the configure script
37 RMFILES
="/usr/vice/etc/AFSlog \
38 /usr/vice/etc/CellServDB \
39 /usr/vice/etc/ThisCell \
40 /usr/vice/etc/cacheinfo \
47 if [[ -f $file ]];then
48 print
"Removing file $file"