1997-06-14 22:56:00 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
again="true"
|
|
|
|
|
|
|
|
echo "Welcome to the NetBSD @@VERSION@@ installation floppy."
|
|
|
|
echo
|
|
|
|
|
|
|
|
while [ $again = "true" ]; do
|
|
|
|
|
1997-11-06 01:58:22 +03:00
|
|
|
echo 'enter "sysinst" to run the new system install program,'
|
|
|
|
echo ' "install" to install NetBSD,'
|
1997-06-14 22:56:00 +04:00
|
|
|
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
|
1997-11-06 01:58:22 +03:00
|
|
|
sysinst|install|upgrade|shell)
|
1997-06-14 22:56:00 +04:00
|
|
|
again="false"
|
|
|
|
;;
|
|
|
|
"")
|
|
|
|
echo
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Sorry, $resp isn't valid."
|
|
|
|
echo
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
case "$resp" in
|
1997-11-06 01:58:22 +03:00
|
|
|
sysinst)
|
|
|
|
sysinst
|
|
|
|
;;
|
1997-06-14 22:56:00 +04:00
|
|
|
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
|