NetBSD/distrib/x68k/floppies/ramdisk/start.tmpl

46 lines
743 B
Cheetah
Raw Normal View History

#!/bin/sh
1998-01-09 11:03:16 +03:00
# $NetBSD: start.tmpl,v 1.2 1998/01/09 08:03:39 perry Exp $
again="true"
echo "Welcome to the NetBSD @@VERSION@@ installation floppy."
echo
while [ $again = "true" ]; do
echo 'enter "install" to install NetBSD,'
echo ' "upgrade" to upgrade an existing NetBSD system,'
echo ' or "shell" for a shell prompt.'
echo
echo -n "your choice? "
read resp
case "$resp" in
install|upgrade|shell)
again="false"
;;
"")
echo
;;
*)
echo "Sorry, $resp isn't valid."
echo
;;
esac
done
case "$resp" in
install)
install
;;
upgrade)
upgrade
;;
shell)
echo 'If you want to run install or upgrade later,'
echo 'simply type "install" or "upgrade" to the shell.'
echo 'good luck!'
;;
esac