summaryrefslogtreecommitdiff
path: root/distrib/alpha
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-09 05:40:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-09 05:40:58 +0000
commit89230b7b40be968224cd5287e2f4d988801bd30b (patch)
treed271cafe54d0e133fe5f06b187e6979d9b6f9e93 /distrib/alpha
parent2fcdf5580bd38ecef2dfcf4d299bfc0b0d6a2430 (diff)
Give the user one last chance to say no before doing the newfs's.
Diffstat (limited to 'distrib/alpha')
-rw-r--r--distrib/alpha/ramdisk/install.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/distrib/alpha/ramdisk/install.sh b/distrib/alpha/ramdisk/install.sh
index f92ed1e405c..139e2b45277 100644
--- a/distrib/alpha/ramdisk/install.sh
+++ b/distrib/alpha/ramdisk/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.1 1997/05/07 12:46:56 niklas Exp $
+# $OpenBSD: install.sh,v 1.2 1997/05/09 05:40:57 millert Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -183,6 +183,20 @@ case "$resp" in
;;
esac
+echo ""
+echo "You are about to create new filesystems on your disk."
+echo "This will *destroy* any existing data. This is your"
+echo -n "last chance to abort. Continue? [y] "
+getresp "y"
+case "$resp" in
+ y*|Y*)
+ ;;
+ *)
+ md_not_going_to_install
+ exit
+ ;;
+esac
+
# Loop though the file, place filesystems on each device.
echo "Creating filesystems..."
(