summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-01 01:31:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-01 01:31:41 +0000
commite6253b128b1fa902fb1d7c45b1d2c7858588abe2 (patch)
tree18cd8ac6e99c0fef64c7d7acab3ee45255ec2371 /distrib/macppc/ramdisk
parenta60b8be667856b47ec07250410d8fd8930c3ba88 (diff)
KNF sh ends up saving space; krw ok
Diffstat (limited to 'distrib/macppc/ramdisk')
-rw-r--r--distrib/macppc/ramdisk/dot.profile24
1 files changed, 8 insertions, 16 deletions
diff --git a/distrib/macppc/ramdisk/dot.profile b/distrib/macppc/ramdisk/dot.profile
index 9a473a25bf1..ca632ed2102 100644
--- a/distrib/macppc/ramdisk/dot.profile
+++ b/distrib/macppc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.4 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.5 2002/04/01 01:31:39 deraadt Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -42,27 +42,19 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T'
stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600
-
# Installing or upgrading?
_forceloop=""
while [ "X$_forceloop" = X"" ]; do
echo -n '(I)nstall, (U)pgrade or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi