freebsd-dev/release/picobsd/build/install
Andrzej Bialecki 648e989921 Better handling of "custom" setup.
Submitted by:	Randal Masutani <randal@comtest.com>
1998-09-29 11:58:54 +00:00

23 lines
505 B
Bash
Executable File

#!/bin/sh
#
# $Id: install,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
#
FILENAME=picobsd.bin
echo "Please insert a blank floppy in /dev/fd0."
echo "WARNING: the contents of the floppy will be permanently erased!"
echo "Your options:"
echo " * ^C to abort,"
echo " * Enter to install \"${FILENAME}\","
echo " * name of other file to install."
echo ""
read -p "Your choice: " junk
if [ "X${junk}" != "X" ]
then
FILENAME=${junk}
fi
echo "Writing ${FILENAME}..."
dd if=${FILENAME} of=/dev/rfd0
echo "Done."