trap 'exit 3' 15

SLIP_FIX_IP=NO

# check OS version

OSREL=`uname -a | cut -d " " -f3`
OSVER=`uname -a | cut -d " " -f4`

if [ "${OSREL}" = "4.0" -a "${OSVER}" = "2.0" ]
then
	echo "\nThe ip driver of this Unix version, Unix System V Release 4.0.2"
	echo "has a bug for a point to point connection which panics the system."

	echo "\nPress RETURN to replace the ip driver and continue installation OR"
	echo "Press DEL to abort installation"
	read a
	SLIP_FIX_IP=YES
	echo "The original ip driver will be moved to /etc/conf/pack.d/ip/Driver.old\n"
fi

echo "SLIP_FIX_IP=$SLIP_FIX_IP" >> $1 || exit 1

exit 0
