#!/bin/sh
# This makes all the bootdisk images.

# Note that kernels do not fit on a floppy any more unless
# they are devoid of most features, so this script is only
# of historical value (if any).

# Automatic
KERNELS="`/bin/ls -d *.?`"
# Manual
#KERNELS="adaptec.s bare.i raid.s scsi.s"

for bootdisk in $KERNELS ; do
  echo
  echo "MAKING BOOTDISK: $bootdisk"
  echo
  if [ -r $bootdisk/bzImage ]; then
    ./makedisk $bootdisk $bootdisk/bzImage
  elif [ -r $bootdisk/zImage ]; then
    ./makedisk $bootdisk $bootdisk/zImage
  fi
done