POSTIN
/bin/sh
# after install
tmpsel=/tmp/pefcfg.tmp
# Assumes that the kernel patches are already in place.
# Make sure that the panic timeout is set to some reasonable value
PANIC_MODE=5
PANIC_FILE=/proc/sys/kernel/panic
PANIC_VALUE=`cat $PANIC_FILE`
# assume that if $pval is set, that someone has already configured lilo.conf
if [ "$PANIC_VALUE" = "0" ]
then
# Panic timeout is not set, set timeout to $pnew
echo "$PANIC_MODE" > $PANIC_FILE
echo "kernel.panic=$PANIC_MODE" >> /etc/sysctl.conf
fi
# Set up the PEF entry to send the BMC LAN Alert for this event.
/usr/sbin/pefconfig >$tmpsel 2>&1