4 # Fileset: OPENAFS.OPENAFS-CLNT
14 # The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
15 # SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
18 UTILS
="/usr/lbin/sw/control_utils"
19 if [[ ! -f ${UTILS} ]]
21 echo "ERROR: Cannot find ${UTILS}"
26 exitval
=$SUCCESS # Anticipate success
28 ############################################################################
30 # Add cacheinfo info only if it does not locally exist
33 if [[ -d /usr
/newconfig
/usr
/vice
/etc
&& ! -f /usr
/vice
/etc
/cacheinfo
]]; then
35 cp /usr
/newconfig
/usr
/vice
/etc
/cacheinfo
/usr
/vice
/etc
36 chmog
644 bin bin
/usr
/vice
/etc
/cacheinfo
40 # Add CellServDB info only if it does not locally exist
42 if [[ -f /usr
/newconfig
/usr
/vice
/etc
/CellServDB
&& ! -f /usr
/afs
/etc
/CellServDB
]]; then
43 print
"Adding CellServDB hosts into /usr/afs/etc/CellServDB"
44 cat /usr
/newconfig
/usr
/vice
/etc
/CellServDB
>> /usr
/afs
/etc
/CellServDB