mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
4b2f1af543
FIXES 1315 updated packaging for hp-ux 11.00, 11.11 and 11.22
51 lines
1.1 KiB
Bash
51 lines
1.1 KiB
Bash
#!/bin/sh
|
|
##############
|
|
# Subproduct: OPENAFS.Kernel
|
|
# Fileset: OPENAFS-KRN32 | OPENAFS-KRN64
|
|
# configure
|
|
# @(#) $Revision$
|
|
##############
|
|
#
|
|
# (c) Copyright 2003
|
|
#
|
|
########
|
|
|
|
# The global variables SUCCESS, FAILURE, WARNING, EXCLUDE, PATH, ROOT,
|
|
# SW_CTL_SCRIPT_NAME, _pf, PRODUCT, and FILESET are all set by control_utils.
|
|
|
|
set -a
|
|
UTILS="/usr/lbin/sw/control_utils"
|
|
if [[ ! -f ${UTILS} ]]
|
|
then
|
|
echo "ERROR: Cannot find ${UTILS}"
|
|
exit 1
|
|
fi
|
|
. ${UTILS}
|
|
|
|
exitval=$SUCCESS # Anticipate success
|
|
|
|
############################################################################
|
|
|
|
#
|
|
# Check for alternate root installation
|
|
#
|
|
if [[ -n "${SW_DEFERRED_KERNBLD}" ]]
|
|
then
|
|
|
|
##########################################
|
|
# #
|
|
# Place afs driver into /stand/system #
|
|
# #
|
|
##########################################
|
|
|
|
mod_systemfile $SW_SYSTEM_FILE_PATH -a afs
|
|
if [[ $? -ne 0 ]]
|
|
then
|
|
print "ERROR: Cannot update $SW_SYSTEM_FILE_PATH to"
|
|
print " include afs ($FILESET functionality)."
|
|
exitval=$FAILURE
|
|
fi
|
|
fi
|
|
|
|
exit $exitval
|