--- installkernel	Tue Nov 28 17:19:29 2000
+++ installkernel	Tue Nov 28 17:37:37 2000
@@ -9,6 +9,7 @@
 KERNEL_VERSION=$1
 BOOTIMAGE=$2
 MAPFILE=$3
+KERNTYPES=$4
 
 if [ -f $INSTALL_PATH/vmlinuz-$KERNEL_VERSION ]; then 
       mv $INSTALL_PATH/vmlinuz-$KERNEL_VERSION \
@@ -26,5 +27,13 @@
 ln -fs vmlinuz-$KERNEL_VERSION $INSTALL_PATH/vmlinuz
 ln -fs System.map-$KERNEL_VERSION $INSTALL_PATH/System.map
 
-if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi
+if [ $KERNTYPES ]; then
+	if [ -f $INSTALL_PATH/Kerntypes-$KERNEL_VERSION ]; then 
+	      mv $INSTALL_PATH/Kerntypes-$KERNEL_VERSION \
+		      $INSTALL_PATH/Kerntypes.old; 
+	fi
+	cp $KERNTYPES $INSTALL_PATH/Kerntypes-$KERNEL_VERSION
+	ln -fs Kerntypes-$KERNEL_VERSION $INSTALL_PATH/Kerntypes
+fi
 
+if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi
