4 # Fileset: OPENAFS.OPENAFS-CLNT
13 # The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
14 # SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
17 UTILS
="/usr/lbin/sw/control_utils"
18 if [[ ! -f ${UTILS} ]]
20 echo "ERROR: Cannot find ${UTILS}"
25 exitval
=$SUCCESS # Anticipate success
27 ############################################################################
30 # Shutdown the afsd process before upgrading. This is just cleaner, than
31 # having SD move the file to #afsd because it's busy and adding it to
32 # the cleanup file for removal on the next boot.
35 ps
-ef |
grep -v grep |
grep afsd
38 print
"afsd process is running..attempting to shut down afsd process"
39 /usr
/vice
/etc
/afsd
-shutdown
41 print
"Successfully shutdown the afsd processes."
44 print
"Failed to successfully shutdown the afsd process."