openafs/src/packaging/HP-UX/scripts/openafs-krn.configure
Paul Weber 4b2f1af543 hpux-packagings-20030619
FIXES 1315

updated packaging for hp-ux 11.00, 11.11 and 11.22
2003-06-19 23:03:29 +00:00

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